Un gruppo di tecnologie e prodotti di Microsoft usati per condividere e gestire contenuti, conoscenze e applicazioni.
Dear @Stefano Branchi,
This is the summary of your issue.
Issue:
All users on customer tenant cannot sign in into SharePoint getting redirectUriMismatchError.
Solution:
From the beginning of the GET method response, please note the id value as shown in the screenshot below.
Next, update your API query as follows:
PATCH https://graph.microsoft.com/v1.0/servicePrincipals/id
Include the following request body: {
"replyUrls": [
"https://tenant-*.sharepoint.com/_forms/default.aspx",
"https://tenant.sharepoint.com/_forms/default.aspx",
"https://onedrive.cloud.microsoft/_forms/default.aspx"
]
}
Please replace "tenant" to your tenant domain name of SharePoint.
Finally, run the query to update the replyUrls. Your patience and understanding are greatly appreciated.