Create Administrator consent for Microsoft Outlook mailbox
Table of Contents
You can obtain the admin consent using the admin consent URL. Perform the following steps to create Admin consent for the shared mailbox.
- Create an admin consent URL using the Application ID (Client ID), Directory ID (Tenant ID), and Redirect URI that you generated while registering your application with Microsoft Outlook. For creating URL, follow the pattern provided below.
https://login.microsoftonline.com/<Tenant ID>/adminconsent? client_id=<Client ID>&state=12345&redirect_uri=<Redirect URI>
For example:
https://login.microsoftonline.com/abcd12345-xyz-1234-abcd- 1234/adminconsent?client_id=abcdwqr-124653-asfasf-213r3rfa- afdf&state=12345&redirect_uri=https://outlook.oauth.aviso.com/abcxyz
.com
Note
Ensure that your personal and official Microsoft account are logged out before performing the above action.
- Enter the above URL in any browser.
The page is redirected to Microsoft login page. If You are prompted to enter login credentials, enter only the administrator credentials. - You are redirected to the Permissions page. Click Accept.
{height="" width=""}
After you accept the permissions, the browser redirects you to the Redirect URI. Ignore if the site doesn't open.
{height="" width=""}
Your administrator consent is created.