If you want to configure and manage an Azure app on your own, you’ll need to create a custom app in the Azure portal. Follow the steps below to create your custom app:
In this article:
- Creating a Custom App in Azure
- Retrieving the Client Credentials for Microsoft Connections
- Adding the Redirect URI to a Custom Microsoft 365 Connection
Prerequisite
- You are an Azure Global Admin
Creating a Custom App in Azure
- In your Azure Portal, navigate to Azure Active Directory > App registrations.
- Click + New registration.
- Provide a name for the app.
- Select Accounts in any organizational directory (Any Azure AD directory - Multitenant) for the account type.
- Click Register.
The app is created and the details are displayed.
Retrieving the Client Credentials for Microsoft Connections
You need both the Client ID and Client Secret for your custom Microsoft app to successfully configure a custom Microsoft connection in the Staffbase platform.
Keep the configuration for your Microsoft Connection open in another tab, so that you can easily copy and paste the client credentials.
Retrieving the Azure App Client ID for Your Custom Microsoft App
- In your Azure Portal, navigate to Azure Active Directory > App registrations.
- Choose the app you have created for your Microsoft Connection.
- Copy the Application(client) ID to your clipboard.
- Paste the Client ID to the Azure App Client ID field of the Microsoft Connection dialog in the Staffbase Studio.
Creating the Azure App Client Secret
- In your Azure Portal, navigate to Azure Active Directory > App registrations.
- Choose the app you have created for your Microsoft Connection.
- Click Add a certificate or secret for Client credentials.
The Certificates & secrets page opens. - Click + New client secret.
- Provide a description and expiration date.
The Microsoft Connection has to be renewed in Azure after the expiration of the client secret. - Click Add.
- Copy the value to the clipboard.
- Paste the secret ID into the field Azure App Client Secret in the Microsoft Connection dialog in the Staffbase Studio.
Adding the Staffbase Redirect URI to Microsoft Azure App
Your employee app or intranet needs to be connected to the custom Azure app you created. You need to add the Staffbase redirect URI to the custom Azure app.
Prerequisites
- You have created a custom Azure app.
- You have configured the Microsoft connection in the Studio using the custom Azure app.
- You know where your Staffbase platform is hosted. Read this article to learn more.
- In the Azure Active Directory, navigate to App registrations.
- In your registered app, click Add a Redirect URI.
- Click Add a platform.
- Choose Web.
The dialog to configure web application URIs opens - Paste the following Redirect URI to the field Redirect URIs:
- If your Staffbase platform is using the US American hosting infrastructure:
https://backend-us1.staffbase.com/api/integrations/auth/ms365/callback - If your Staffbase platform is using the German hosting infrastructure:
https://backend-de1.staffbase.com/api/integrations/auth/ms365/callback
- If your Staffbase platform is using the US American hosting infrastructure:
- Click Configure.
- Click Save.
This confirms the configured redirect URI.
You have added the Redirect URI to your custom Azure App. Now your users can sign in to Microsoft 365 from your Staffbase platform.
Comments
0 comments
Please sign in to leave a comment.