Authorization

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.

Note

You must be an Office 365 administrator in order to authenticate with this connector.

Tip

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:

  1. Navigate to your Azure Active Directory console.

  2. Click Enterprise applications > Consent and permissions > User consent settings

  3. Select Allow user consent to apps.

  4. Select Allow group owner consent for all group owners.

To create a new connection:

  1. Click New Connection.

  2. Add a Connection Nickname. This is useful if you plan to create multiple connections to share with your team.

  3. Click Create.

  4. When the Oauth window pops up, log in with your Office 365 administrator account and continue.

Note

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.

Related topics

Office 365 Admin connector

About the elements of Okta Workflows

Office 365 Admin Management APIs overview