SetupOAuthClient(ServicePrincipal)authentication
1. SignintoyourMicrosoftAzureaccountandregisteryourapplicationintheAzureportal.
1
2. SetupOAuthclient(serviceprincipal)authentication:
2
a. SelectyourapplicationintheAzureportal.
b. GototheCertificates&secretspageandselectClientsecrets(0).Setupyourclientsecret(also
knownasapplicationpassword).RecordtheSecretID(whichappearsonlythisonetime)ina
secureplace.
c. Setanexpirationperiodfortheclientsecret(forexample,180daysor6months).
Note:Syncingwill
stop
attheendoftheexpirationperiod.Remembertoupdatetheclient
secretbeforethisoccurs.
d. ConfigureyourapplicationpermissionsinConfiguredpermissions.Ataminimum,Group.Read.All
andUser.Read.AllmustbegrantedadminconsentintheAPI/Permissionsnamecolumn.
e. GototheOverviewpage.RecordtheApplication(client)IDandDirectory(tenant)IDtobeentered
intheControlCenter.
3. Gotocontrol.openpath.com/loginandsignin.ToaccesstheEuropeanControlCenter,goto
control.eu.openpath.com/login.
4.
Goto Appmarketplace>Myapps,andclickMicrosoftAzureADorMicrosoftAzureADAdvanced.
5. Microsoftwillpromptyoutosignin.SigninwithyourAzureADaccountandclickAccepttoallowthe
AvigilonAltasystemtoaccessyourusersandgroups.
Note:TheAvigilonAltasystemcanonlyreaddatafromyourAzureaccount;itcannotwritedataor
makeanychangeswithintheAzuresystem.ThetokentheAvigilonAltasystemusesonlyhasread
permissionsforAzureusers,groups,anddirectorydata.
6. Nowyoucanenablethefollowingsettings:
1
Formoreinformation,seeMicrosoftdocumentation:https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-
principalportal
2
Forscreenillustrations,seeAvigilonAltaarticle:
https://openpath.atlassian.net/wiki/spaces/EHC/pages/2023391259/How+do+I+sync+users+using+OAuth+Client+Service+Principal+with+Microsoft+Azur
e+Active+Directory#service
App marketplace 108