Next, as depicted by Figure 15, select Application permissions, expand the Sites node in the Permission tree, and select the check box. When Figure 13 appears, select the SharePoint option yet again. Once again, click on the Add a permission button therein to grant another permission to Microsoft Graph. As before, click the Add permissions button to add the chosen permissions to the Microsoft Graph app.įigure 14 : Granting permission to Microsoft Graph app to read from and write to user files Doing so will allow the Microsoft Graph app to read from and write to user files. Then, select the Delegated permissions option from Figure 14, expand the MyFiles node in the Permission tree, and check the MyFiles.Read and MyFiles.Write check boxes within. When Figure 12 appears, click on the Add a permission button again.įigure 12 : Clicking on the Add a permission button again to add permission to read from and write to user filesįrom Figure 13 that then appears, select the SharePoint option.įigure 13 : Selecting the SharePoint option Finally, click on Add permissions to add the chosen permission.įigure 11 : Granting permission to the Microsoft Graph app to read service health This will allow the Microsoft Graph app to read the service health information for your organization. Then, when the Permission tree appears below, expand the ServiceHealth node and select the ServiceHealth.Read option to assign that permission to the Microsoft Graph app. When Figure 11 appears, click on Application permissions. Then, click on Office 365 Management APIs in the Request API Permissions window that appears (see Figure 10).įigure 10 : Selecting the Office 365 Management APIs option In the right panel of Figure 9, click on the Add a permission button.įigure 9 : Clicking on the Add a permission button
For this, click on the API permissions option under Manage in the left panel of Figure 8. Next, proceed to grant permissions to the Microsoft Graph app, so it can pull the desired metrics. Make a note of this key in notepad.įigure 8 : The key that is generated and assigned to the client secret of the Microsoft Graph app Once the new secret is successfully created, a key will be generated for it, as depicted by Figure 8. When Figure 7 appears, provide a Description for the new secret, set it to Never expire, and click the Add button to add the new secret.įigure 7 : Creating a new secret for the Microsoft Graph App
Now, click on the New client secret button in the Client Secrets section in the right panel of Figure 6.įigure 6 : Clicking on the New client secret button To achieve this, click on the Certificates & Secrets option under Manage in the left panel of Figure 5. Next, proceed to create a secret for the new app. Make sure you copy this ID also to notepad.įigure 5 : Viewing and making a note of the Application ID of the Microsoft Graph app Additionally, Figure 5 will display the Application (client) ID that is auto-generated and auto-assigned to the Microsoft Graph app. Upon successful app registration, Figure 5 will appear displaying a message to that effect. Finally, click the Register button in Figure 4 to register Microsoft Graph on Azure AD.įigure 4 : Registering the Microsoft Graph app on Azure AD Make sure that this URI is in the format. In the text box adjacent to the drop-down, specify the URL to which the authentication response needs to be returned after successfully authenticating users to the new app. Then, from the drop-down in the Redirect URI section, select Web. In the Name text box, specify the display name of the app you intend to register. Then, from the App Registrations list for Azure Active Directory, select App registrations to register the Microsoft Graph app.įigure 3 : Selecting the App registrations option to register a new app on Azure ADįigure 4 then appears, using which you can register the Microsoft Graph app. Select Azure Active Directory from the list of FAVORITES in the left-most panel of Figure 3. Expand the node and select the Azure Active Directory sub-node within.įigure 2 : Clicking on Azure Active Directory under Admin Centersįigure 3 then appears. When Figure 2 appears, browse the left panel of Figure 2 for the Admin Centers node. Login to the Office 365 portal as a Global Administrator and click on the Admin option within (see Figure 1).įigure 1 : Clicking on Admin option in Office 365 portal To achieve this, follow the steps detailed below: Registering the Microsoft Graph App On Microsoft Azure Active Directory