XenitAB / xenitab.github.io

Repository gathering documentation for Xenit open source projects
https://xenitab.github.io/
MIT License
7 stars 1 forks source link

Fix Service Principal docs #139

Closed CalleB3 closed 2 years ago

CalleB3 commented 2 years ago

Needed to update the command to create the ad app, this since there has been changes and it was created incorrectly.

This changes from the default sign-in-audience: AzureADandPersonalMicrosoftAccount to: AzureADMyOrg to make it single-tenant again.

This since the default has been changed after the changes to microsoft graph. Default before was AzureADMyOrg. Current limitations for AzureADandPersonalMicrosoftAccount is a maximum of 2 client-secrets per ad app. We need to use atleast 3, 1 for each environment.

This PR fixes that.

simongottschlag commented 2 years ago

@CalleB3 please add information in PR in regards to WHY the default doesn't work for us.