What access rights need for generating the Access Token?
Release : 17.3 and higher
CA Service Desk Manager
The "Need Admin Approval" message presents when interacting with Entra ID (formerly Azure AD) when attempting to request permission on behalf of a third party application, Service Management in this case, and the organization responsible for the Azure account has restricted such requests to Azure Administrator users only, or when the "User Consent" setting was disabled.
Specific permission that is needed, under Entra ID > Applications > Enterprise applications > User settings, is "Users can consent to apps accessing company data on their behalf". This needs to be set to "Yes" to ensure Service Management integration can go forward.
There are several ways to address the security setting. We will discuss two possible approaches.
In all cases, a user with Admin permissions in Azure is needed. We will define "AzureAdmin" as the Azure user with Admin permissions and "SMMailUser" as the user who is assigned to login to Azure on behalf of Service Management, the integration user.
Note: This is the recommended approach. It will enable the permissions necessary to generate the token specifically for Service Management application.
Prerequisite: SMMailUser has already registered the Service Management product as one of Azure's third party products, attempted to generate access token, and received "Need Admin Approval"
With the above change, the SMMailUser user should be able to generate the access token.
Prerequisite: SMMailUser has already registered the Service Management product as one of Azure's third party products, attempted to generate access token, and received "Need Admin Approval", but has opted to choose "Request Approval".
The SMMailUser should then be notified that they can try "Generate Access Token" again, to generate the needed token.
From "Use the Default Mailbox or Create a Mailbox"
--->
Note:
Microsoft Exchange OAuth 2.0 requires 2 certificates. Provide with a space separated value (for example: outlook.cer login_microsoft.cer)
Office 365 certificate
login_microsoft certificate
To generate login_microsoft.cer, open https://login.microsoftonline.com/ in a browser. Click the padlock symbol and export the certificate in Base64 cer format.