The Office 365 Admin connector is authorized using Oauth2. When you add an Office 365 Admin card to a flow for the first time, you'll be prompted to create a connection.
Template: Note. Convert this snippet to text (right-click/ctl-click for menu), delete this paragraph, and then start typing next to the icon. Note: For copied content, to retain proper alignment, ensure the paragraph style under the heading retains the tag p.noteContent, or reset it.
You must be an Office 365 administrator in order to authenticate with this connector.
You can create multiple connections and manage them from your Connections page.
To authorize an Office 365 Admin account and grant it the necessary properties to create an account for use with Workflows:
Navigate to your Azure Active Directory console.
Click Enterprise applications > Consent and permissions > User consent settings
Select Allow user consent to apps.
Select Allow group owner consent for all group owners.
To create a new connection:
Click New Connection.
Add a Connection Nickname. This is useful if you plan to create multiple connections to share with your team.
When the Oauth window pops up, log in with your Office 365 administrator account and continue.
Some environments don't allow individual user accounts to consent to application access. If this applies to your environment, you can have an admin authorize the Workflows app for use with Office 365 Admin by creating an account with the required permissions, making a connection in Workflows, then have the admin associated with the account approve the connection. After the connection has been approved, the admin deletes the connection and closes their browser session to remove the authorization token. Create a new connection using a non-admin Office 365 account. This new connection can be used to authorize into Office 365 Admin since the Workflows app was approved by an admin.