Adding the web app registration in Azure AD In the Azure portal, select Azure Active Directory > App registrations. Click New application registration. Specify this information: Name Specify a name for the app; for example, Service Portal. Application type Specify Web app / API. Sign-on URL Specify the base URL for the portal Home page; for example, https://serviceportal.acme.com. Click Create. In the list of app registrations, select this new app. Click Settings. Under General, click Reply URLs. Specify the portal site URL, including the port and site, if applicable. For example, specify https://host:port/site. Note: You can specify one reply URL for each portal site that is being supported. Click Save. Under API Access, click Required Permissions. Click Add. Click Select an API. Click Microsoft Graph and click Select. In the Application Permissions section, select Read directory data and click Select. Click Done. Click Grant Permissions and click Yes.