# Microsoft Azure

### Create app registration on Azure

* Sign in to the azure portal and go to app registrations&#x20;
* Click on New registration&#x20;
* Enter a name, this name wil be shown to the users when signing in to the application&#x20;
* Add a redirect URI with the following format. During initial creation only one redirect URI can be added, please add the other URI's after creation
  * Https\://{yourURL}/AppsService/signin-microsoft&#x20;
  * Https\://{yourURL}/Platform/signin-microsoft&#x20;
  * Https\://{yourURL}/Apps/signin-microsoft&#x20;
  * Https\://{yourURL}/appsservice/signin-microsoft&#x20;
  * Https\://{yourURL}/platform/signin-microsoft&#x20;
  * Https\://{yourURL}/apps/signin-microsoft&#x20;
* Create the registration

### Copy the ClientId

* Sign in to the Any2Info platform and go to Platform -> Settings
* ​Click on the group Authorization and select “Azure SSO”​
* On the overview page copy the newly created client Id&#x20;
* Paste the id in the clientId

<div align="left"><img src="https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2FRYP1Los7pSHgPGYhvpkj%2FAfbeelding1.png?alt=media&#x26;token=f4aedbb8-d7ad-4d6f-9fc1-c17b5f061941" alt=""></div>

### CreateClientSecret

* On the Azure portal go to the Certificates & Secrets menu item&#x20;
* Select the client secrets tab and click “new client secret”

![](https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2Fjx82mP9fslQ3qcIlgr02%2FAfbeelding1.png?alt=media\&token=70962328-c034-448f-8ae5-c05413047a63)

### Copy ClientSecret

* Sign in to the Any2Info platform and go to Platform -> Settings​
* Click on the group Authorization and select “Azure SSO”​
* Copy the value of the newly created secret&#x20;
* Paste the value in the clientsecret setting&#x20;
* Enable the EnableAzureSSO setting
* Save the settings

### Connect Azure id to the users

* For each user that should be able to sign in to the platform/app using Azure make sure the SSO username (the e-mail address) is filled.
