Pages

Monday, October 15, 2018

Microsoft Flow to Update Azure AD User's Mobile Number via Custom Graph API App


Issue: When Updating Azure AD User Mobile number via Microsoft flow then we are getting error is Graph API - Insufficient privileges to complete the operation.

Our Techie team breaking head for few days and resolved issue and found solution.

Solution: Create Custom App for Graph API then Create HTTP Web service call inside flow to access Custom Graph API to update Azure AD User Mobile Number.

Friday, September 7, 2018

Sharepoint 2013 Installation Error : Application Server Role, Web Server (IIS) Role : Configuration error

I got in the below error   while trying to install the pre-requisites of sharepoint 2013 on the windows server 2012 R2 OS,

• Application Server Role, Web Server (IIS) Role: configuration error

The tool was unable to install ApplicationServer Role, Web Server (IIS) Role.

I tried to add role via Power shell command, still that Sharepoint 2013 Pre Requiste file is not passed.
we break head and we spent three days trying to figure out this issue and finally we found solution into %WINDIR% to find my solution

The Solution is:
The installer is trying to run the executable C:\Windows\System32\ServerManagerCMD.exe
 Taking a look in the system32 directory, you’ll see that in R2, ServerManagerCMD.exe doesn’t exist! How do we fix that? We do the logical thing. Take ServerManager.exe, copy it, and rename it to ServerManagerCMD.exe. Who cares if it’s messy, it works. :

Now, Run the Sharepoint Pre Requeste Installer:




Friday, August 17, 2018

Sharepoint 2013 or Online Enter date picker in the data sheet view scrolls form to the top of the Page

When you create data sheet view with Date field and put in the Sharepoint Dash board page.

Users are trying to enter or change Date from Data Sheet view in the Chrome Browser.

Once User Clicked on the Date field, it will jump into the top of the page.

Users always facing difficult to enter Date field.

This is happening when using not -IE browsers.

If you use IE browser then there is no issue.

Find in the following work around code.

1. Open the Sharepoint Page.
2.Edit Page.
3.Add Script Editor web part and script tag begin and end.
4.Add the following code in the Script Editor.
5. Publish the page.

ExecuteOrDelayUntilScriptLoaded(
    function() {
        if (typeof(window.original_OnIframeLoadFinish) !== 'function') {
            window.original_OnIframeLoadFinish = window.OnIframeLoadFinish;
            window.OnIframeLoadFinish = function() {
                original_OnIframeLoadFinish.apply(this, arguments);
                window.Picker.contentWindow.original_setFocusDatepicker = window.Picker.contentWindow.setFocusDatepicker;

                window.Picker.contentWindow.setFocusDatepicker = function() {
                    workspaceTop = document.getElementById('s4-workspace').scrollTop;
                    window.Picker.contentWindow.original_setFocusDatepicker.apply(this, arguments);
                    document.getElementById('s4-workspace').scrollTop = workspaceTop;
                }
            }
        }
    }, "datepicker.js");

Thursday, August 16, 2018

Sharepoint User Profile Service stop via STSADM cmd




1.stsadm -o enumservices > c:\services.txt - Those gave me a list of services and showed me what the name of the service I need to stop is.

2.  stsadm -o provisionservice  -action stop -servicetype "Microsoft.Office.Server.Administration.ProfileSynchronizationService, Microsoft.Office.Server.UserProfiles, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" -servicename FIMSynchronizationService

Once you stopped User Profile Sync Service then you can check

Services --> FIM Sync Server
Sharepoint Central Admin Service --> User Profile Sync Service - Stopped

you just restart to User Profile Sync Service via Sharepoint Central and start Full Sharepoint Sync.

Monday, July 30, 2018

Deploy Sharepoint 2013 Solution Package(WSP Packages) using powershell

Add WSP Solution

Add-SPSolution -LiteralPath "C:\DeployLDACPCustom\LDAPCPCustom.wsp"

Install-SPSolution -Identity "LDAPCPCustom.wsp" -GACDeployment


Install-SPFeature -path "LDAPCPCustom" -CompatibilityLevel 15


Enable-SPFeature -identity "LDAPCPCustom" -URL http://test:30000/

Update Solution Package

Update-SPSolution -GACDeployment -Identity "LDAPCP.wsp" -LiteralPath "C:\DeployLDACP\LDAPCP.wsp"

Remove WSP

De activate feature by manually in the site URL

Disable-SPFeature -identity "LDAPCP.Custom"

Uninstall-SPSolution -Identity "LDAPCPCustom.wsp"

Remove-SPSolution -Identity "LDAPCPCustom.wsp"