Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
John-SSI
Creator
Creator

Office 365 Sharepoint

Hi, im trying to connect to our customers Sharepoint, i got the OAuth but when test connection it give me this:

{"error_description":"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."}

I saw somewhere customer needs to grant access for the API (Graph) but customer keeps asking about which Azure ad app and ClientID i've got?
Anyone who can this. It's B2B connection. Our own connection works.

Labels (2)
1 Reply
Anne165Hernadez
Contributor
Contributor

Hello!

The AudienceUriValidationFailedException suggests a mismatch between the OAuth token's audience and the expected URI. Ensure the customer has registered the correct Azure AD app and granted permissions for Microsoft Graph API. Verify that the audience URI in your request is https://graph.microsoft.com/ and that the app has the necessary permissions like Sites.Read.All. The customer needs to consent to these permissions in the Azure portal. Provide them with your Azure AD app's Client ID and Directory ID for accurate setup.