Re: Azure AD group Authentication in Powerapps Portals
Hi @Anonymous ,
i think, you have to create a powershellscript or whatever which runs from time to time to align the two userbases. You should not do it manually, i agree.
May be, this can be achieved with power automate. I'm not an expert in that one, but if there is some kind of trigger when a user enters or leaves the group, then the alignment can be executed.
This could also be an azure function, which does this job.
The contact and the external identities are only entities in the cds, which can be created/deleted/updated via the services or with power automate (formerly knows as flow).
The only complicated thing for the automation for me is, how to authorize the process to read users from the ad. Writing to the crm can easyly be achieved by an applicationusr by clientid/clientsecret.
Really an interesting scenarion and a common question from our customers, who usually do manual stuff afterwards. May be i should try out automating this 🙂
Have fun,
Christian