Configuring the SharePoint app in Microsoft Azure AD
Register and configure the HCL Connections community app for Microsoft SharePoint in Azure Active Directory (Azure AD).
Linked references in the following procedure provide additional information from the Microsoft identity platform documentation.
-
From the Azure portal at https://portal.azure.com/, select your organization's directory.
-
In your directory, under Manage, click App registrations, and then click New registration.
-
Complete the registration form as described in the Microsoft documentation: https://learn.microsoft.com/azure/active-directory/develop/quickstart-register-app
Note these steps:
- Under Supported account types, select Accounts in this organizational directory only (your_organizational_directory).
- Under Redirect URI (optional), select Web, and then add
https://your_connections_host/spo/index.htmlas the redirect URI that your Connections users will use to receive their authentication response. - Click Register.
-
From your app's Overview page in Azure, click API permissions, and then click Add a permission.
-
Add the permissions required for your app to access Microsoft web APIs. For more information, see: https://learn.microsoft.com/azure/active-directory/develop/quickstart-configure-app-access-web-apis
Complete the following steps when configuring API permissions:
- Under Request API permissions, select SharePoint from the Microsoft APIs tab.
- Under Delegated permissions, select the following permissions:
- Read and write user files
- Read and write items in all site collections
- Click Add permissions to save your changes.
- From the configured API permissions page, click Grant admin consent for your_organizational_directory.
-
Add a redirect URI for your organization's SharePoint mobile app.
-
Click Authentication.
-
Under Web, click Add URI, and then add
https://your_connections_host/spo/mobile.htmlas the redirect URI for mobile users. -
Under Implicit grant, select both:
- Access tokens
- ID tokens
-
Click Save.
-
-
Edit the Azure Active Directory app manifest to allow the open authentication used by the app.
-
From the app's Overview page, Click the Manifest section.
-
Change the attribute
oauth2AllowImplicitFlowtotrue. -
Click Save.
-
-
From your app's Overview page, copy the Application (client) ID value to the clipboard. You will need this value for the next task.
Configure the SharePoint app in Connections.
Parent topic:The Connections community app for Microsoft Sharepoint