[THIS IS PRELIMINARY DOCUMENTATION AND CURRENTLY UNDER REVIEW]
Usage Please refer to the this article if you don’t know whether you should register a secondary app in Azure AD.
Configuration
- Sign into your WordPress website and search for the WPO365 wizard’s Integration page WP Admin > WPO365 > Integration.
- Check the option Use app-only token.
- Open another browser tab and sign into Azure Portal.
- Search for and select Azure Active Directory. On the Active Directory page, select App registrations and then select New registration.
- When the Register an application page appears, enter your application’s registration information.
- Name Enter a meaningful application name that will be displayed to users of the app.
- Supported account types Select which accounts you would like your application to support (most likely Accounts in this organizational directory only)
- Platform configuration (Optional) Do not select a platform
- Click Register to create the secondary App registration in Azure AD.
- On the Overview page move your mouse over the Application (client) ID and click Copy to clipboard.
- Switch to the WPO365 wizard’s Integration page and paste the Application (client) ID as (App-only) Application (client) ID.
- Back on the Overview page of your newly registered app in Azure Portal, select App permissions and then + Add permission.
- Depending on your requirements, select Microsoft Graph and then Application permissions, scroll down and add
- Group.Read.All
- User.Read.All
- Select Add permissions to save the permissions just added.
- Wait 10 seconds and then click Grant Admin consent for [your tenant].
- Select Certificates and secrets and click + New client secret.
- Enter a meaningful name for you app’s secret and select the period during which the secret should remain valid.
- Click Add to create the new Client secret and then copy it.
- Switch to the WPO365 wizard’s Integration page and paste the Client secret as (App-only) Client secret.