Create Azure App Registration (Delegated Permissions)
Last updated
Last updated
OAuth2 Callback URL from PlaceOS Authentication Source
Microsoft Azure Administrator Access or App Registration Role
Login to Microsoft Azure Portal.
Navigate to App Registration blade.
Create a new App Registration called PlaceOS User Authentication
Supported account types should be ‘Accounts in this organisational directory only’
Configure a Web Redirect URI with the PlaceOS Redirect URI created in the previous step eg. https://<YOUR-PLACEOS-DOMAIN>/auth/oauth2/callback?id=<OAUTH_STRAT-XXXX>
Note down the:
Application (client) ID as this will be required to be provided to PlaceOS.
Directory (tenant) ID as this will be required to be provided to PlaceOS.
Once created, navigate to Certificates and Secrets.
Create a New Client Secret called PlaceOS User Auth Secret
and note down the secret value (you will need to supply this to PlaceOS).
Navigate to 'API Permissions'.
Click 'Add Permission'.
Click 'Microsoft Graph'.
Click 'Delegated Permissions'.
Add the following Permissions:
Calendars.ReadWrite
Calendars.ReadWrite.Shared
Group.Read.All
User.Read.All
offline_access
openid
profile
Click 'Grant admin consent'
This completes the App Registration.
For more detailed information about the permissions required by PlaceOS, please reference the Microsoft Azure Permissions Table.