Create Azure AD Flow Connector & Permissions Assignment

This blog guides steps to create a Microsoft Flow to Azure AD Connector and how can we assign the permissions to it.

  • When you check in the azure AD, you don’t find Azure AD connector.


  • Open Flow URL and sign in

    https://us.flow.microsoft.com/en-us/

  • Click on connectors


  • Now Search “Azure AD”


  • Click on the Azure AD Connector icon then select one of the options. I selected the following:


  • Click on the Sign in on the following screen


  • It will open authentication popup. Login there.
  • Once logged in you will see this permission request.
  • Click accept here. Do not check the check box.


  • Now click continue


  • This should create the Azure AD connector for Flow and PowerApps
  • Application id is 2bed6734-1911-40e6-ac44-00d79d70d2bc
  • Now we can find it.


  • Now copy the following

    Connector Object ID: e33232ae-8683-4f6e-ac1b-1e044831d2df

    User Object ID: 857314e3-5ee3-45c7-9088-dxx1xxb022e1

    https://graph.windows.net/myorganization/oauth2PermissionGrants

a CTRL+F and search for the Object-ID for the Connector you noted down earlier and copy the entire OAuth grant as shown below. Make sure to note it down.


  • When you’ve copied the OAuth Grant, change the mode from “GET” to “POST”
  • Paste the OAuth grant into the empty window


  • Look for the “PrincipalId”. Replace this value with the Object-ID of the user you noted down before. And then click “Go” to post the OAuth permission grant.

    Don’t worry it will not overwrite anything but add another entry so your default entry will remain same.

  • Now we will see new entry with the user so this user got the permissions.

i

This blog ends here!


Prabhat Nigam
Team at Golden Five Consulting

CTO @ Golden Five | CEO at LAExUG Foundation

Prabhat is 3 times Microsoft MVP Award winner. He is MBA in Information Technology and he is working as a CTO at Golden Five Consulting which is a Microsoft Gold Partner, MSP, T1CSP, and Education partner. He helps in designing, implementing, managing and supporting solutions for private messaging cloud, mergers, a collaboration between different messaging software and other migration & deployment projects for the following technologies Office 365, Azure, AWS, Exchange, SQL, ADFS, MFA, FIM, MIM and Directory services. He has worked for all big IT giants either as an employee or contractor where he has led the Global teams. He has started his career as Technical Consultant in Exchange 5.5 with Microsoft PSS and his exchange love never stopped & continued with 2000/2003/2007/2010/2013/2016/2019/O365. At one point in time, he was the only person to support EDS customers when Microsoft had closed all the supports for 5.5 and now for all old legacy Exchange versions.
He used to blog at MSExchangeGuru.com, manages multiple LinkedIn and Facebook Groups. He also Owns MSExchnageGuru YouTube channel where he uploads all his records technical sessions. Don’t forget to check his PowerShell scripts which are making admins life easier. Prabhat can be reached at PN@GoldenFive.net.

Leave Comment

Your email address will not be published.