Email MSFT Graph Type for GCC(US Gov) or other cloud hosted tenentsIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } While creating an email account using Microsoft Graph using the documentation below:https://www.servicenow.com/docs/csh?topicname=create-email-account-ms-graph.html&version=latest During the oAuth record configuration, client updates the token url to use their login.microsoftonline domain endpoint url:https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/notification/task/configure-oauth-profile-using-certificates.htmlFollowing the steps outlined in the documentation below, after users click "Test Connection", they receive a connection error. When reviewing the outbound http logs, there is a record with a 400 error message with the URL hostname being "graph.microsoft.com".https://www.servicenow.com/docs/csh?topicname=create-email-account-ms-graph.html&version=latest Customer can also receive 401 with below path /v1.0/users/{emailAddress}/mailFolders/Inbox/messages GraphEmailReader DEBUG: Start processing Graph Email Reader GraphEmailReader DEBUG: Retrying Messages:0 GraphRestApiClient DEBUG: StatusCode:401 GraphRestApiClient SEVERE *** ERROR *** Error listing messages GraphEmailReader SEVERE *** ERROR *** Unable to get unread messages GraphEmailReader SEVERE *** ERROR *** Unable to process messages Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All/any Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } When reviewing the node logs, the transaction calls the Graph Rest Api. When reviewing the backend code, the endpoint "graph.microsoft.com" is soft-coded into the script. Upon further review, the variables containing the endpoints are called if certain system properties do not exist. Microsoft Graph has different cloud instances (endpoints) depending on where your tenant is hosted: CloudGraph endpointLogin authority (token issuer)Global (commercial)https://graph.microsoft.comhttps://login.microsoftonline.com/{tenant}US Government (GCC, GCC High, DoD)https://graph.microsoft.ushttps://login.microsoftonline.us/{tenant}China (21Vianet)https://microsoftgraph.chinacloudapi.cnhttps://login.chinacloudapi.cn/{tenant}Germanyhttps://graph.microsoft.dehttps://login.microsoftonline.de/{tenant} Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Client will have to create the system properties below as a String type. Below we are using "graph.microsoft.us" as an example, but the base url will depend on the Microsoft Graph domain the client is using. Name: glide.graph-receive.list_emails_endpoint Value: https://graph.microsoft.us/v1.0/users/{emailAddress}/mailFolders/{folderName}/messages Name: glide.graph-receive.get_email_endpoint Value: https://graph.microsoft.us/v1.0/users/{emailAddress}/messages/{id}/$value Name: glide.graph-receive.batch_endpoint Value: https://graph.microsoft.us/v1.0/$batch Please run a cache flush so that the system properties can take effect: <Service Now Instance URL >/cache.do