All Apps and Add-ons

Client Error: Unauthorized for url

jaxjohnny2000
Builder

Below is the log messages once in enable the inputs for TA-MS-AAD -

Microsoft Azure Active Directory Reporting Add-on for Splunk. The application id has the permissions
o Windows Azure Active Directory - Read directory data
o Microsoft Graph - Read all audit log data

03-04-2019 20:55:08.538 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA-MS-AAD/bin/MS_AAD_signins.py" ERROR401 Client Error: Unauthorized for url: https://graph.windows.net/mycompany.onmicrosoft.com/activities/signinEvents?api-version=beta&$filter...

0 Karma
1 Solution

jconger
Splunk Employee
Splunk Employee

Your Azure AD application registration will need the following API permissions:

  • Windows Azure Service Management API

    • (Delegated) Access Azure Service Management as organization users
  • Windows Azure Active Directory

    • (Application) Read directory data
    • (Delegated) Read directory data
    • (Delegated) Sign in and read user profile

The application will also need Reader access to your subscription(s).

View solution in original post

jconger
Splunk Employee
Splunk Employee

Your Azure AD application registration will need the following API permissions:

  • Windows Azure Service Management API

    • (Delegated) Access Azure Service Management as organization users
  • Windows Azure Active Directory

    • (Application) Read directory data
    • (Delegated) Read directory data
    • (Delegated) Sign in and read user profile

The application will also need Reader access to your subscription(s).

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...