Power Automate: Use Service Principal

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:-

PowerAutomate-UseServicePrincipal01

PowerAutomate-UseServicePrincipal02

  • In Power Automate use ‘Connect with Service Principal’

PowerAutomate-UseServicePrincipal03PowerAutomate-UseServicePrincipal04

In case, if you have any question feel free to ask in the comments. 🙂

3 thoughts on “Power Automate: Use Service Principal

  1. Hi folks. After creating the App User and setting as the connection for the trigger in the Flow, it doesn’t get triggered anymore. We get the error “Forbidden”. Anything we may be missing here? Or any proviledge that needs to be given to the Service Principal account?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s