Let’s talk about Power Automate and how to use the Service Principal account to run your Power Automate jobs?
Why do we need Service Principal? Let suppose you have created a background automation which is using Common Data Service (CDS) triggers or actions, so its better to use service principal rather than to a specific user (because specific user may leave the company, his account can be disabled).
Following is the 3 steps guide with reference:-
- Register your App in Azure (Azure Application Registration)
- Create New Application User in D365 (Application User Creation)
- In Power Automate use ‘Connect with Service Principal’
In case, if you have any question feel free to ask in the comments. 🙂