Configure an application in Microsoft Entra ID for the Splunk Add-on for Microsoft Cloud Services¶
To gather data from the Windows Azure Service Management APIs, you must first create an application in Microsoft Entra ID.
Follow the instructions in the Microsoft documentation to create an application in Microsoft Entra ID: Use portal to create an Microsoft Entra ID application and service principal that can access resources for either your Azure portal or Azure Government portal.
When prompted, select or enter the following parameters:
- Client ID: Required for Azure App account.
- Copy this value. You need this value and a valid secret key to connect to your account from the add-on.
- Key: Required for Azure App account.
- Copy this value to a secure location as soon as the Microsoft Entra ID admin console displays it.
- Tenant ID: Required for Azure App account.
- Copy this value for the future use.
Application permissions to access Windows Azure Service Management APIs¶
Select Access Azure Service Management as organization under Delegated Permissions.
Grant the application read access in Microsoft Entra ID¶
After creating the application in Microsoft Entra ID, login to either https://portal.azure.com or https://portal.azure.us on the Azure website, and perform the following steps:
- You must have a Premium P1 level edition or higher to perform this operation. See https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/ on the Microsoft Azure website for more information on who can access resources.
- Navigate to Home > Subscriptions.
- Select the active subscription that you want to use from the Subscription Name column.
- Select Access control (IAM)
- Select Role assignments
- Select Add role assignment.
- In the Add role assignment drop-down list, perform the following steps:
- Select Reader from the Role dropdown list.
- Select User, group, or service principal from the Assign access to dropdown list, if it has not already been selected.
- Select your application by searching for it by name in the dropdown.
- Save your changes.