office365microsoft-graph-apiazure-ad-graph-apioffice-app

Change "Publisher's website" on Microsoft and/or Azure AD Graph consent screen


When sending my user to the https://login.microsoftonline.com/{tenant}/oauth2/authorize endpoint during an oAuth flow, they are presented with the consent page. On this consent page, when they authorize the application, it displays the Office 365 tenant in which my Application is registered in. I'd like for this to show my organizations website. Is this possible? If so, how?

enter image description here


Solution

  • This is possible today but the change will apply to the consent screen for all apps in that tenant. If your organization's website is already registered as a custom domain of the tenant, it's as simple as marking that domain as primary. If it is not, you'll first need to add it as a custom domain and then mark it as primary. To manage your custom domain names, follow the steps outlined in this doc.