Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook obtains OAuth2 access tokens for Zscaler Internet Access (ZIA) integrations using Zscaler ZIdentity OAuth and returns the token response.
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | Zscaler Internet Access |
| Source | View on GitHub |
This playbook uses 1 Logic App connector / built-in action:
| Connector / Action | Type | Connections | Actions |
|---|---|---|---|
http |
Built-in | 0 | 1 |
http (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| HTTP_Get_OAuth_Token | POST | @parameters('oauthUrl') |
— |
📄 Source: Oauth2Authentication/readme.md
This playbook provides OAuth2 authentication capabilities for Zscaler Internet Access (ZIA) integration with Microsoft Sentinel. It handles the authentication flow required to obtain and manage access tokens for secure API communication with Zscaler services.
The Zscaler-Oauth2-Authentication playbook is designed to:
Before deploying this playbook, ensure you have:
Zscaler Configuration
Azure Resources
client-secretRequired Information
api://[your-app-id]/.default)When deploying the full Zscaler solution from Content Hub, you will see an Authentication Configuration step where you need to provide:
api://166a33fa-7009-42ad-bf3b-1f6fcffb6395/.default)These parameters will automatically configure the OAuth2 Authentication Logic App during deployment.
Click the button below to deploy only the Zscaler-Oauth2-Authentication playbook:
When deploying standalone, you'll need to provide the same parameters during deployment.
After deployment, complete these steps:
Ensure your client secret is stored in the Key Vault you specified:
az keyvault secret set \
--vault-name <YOUR_KEYVAULT_NAME> \
--name client-secret \
--value <YOUR_CLIENT_SECRET>
The Logic App uses a system-assigned managed identity. Grant it access to read secrets:
# Get the Logic App's managed identity object ID
LOGIC_APP_IDENTITY=$(az logic workflow show \
--resource-group <YOUR_RESOURCE_GROUP> \
--name Zscaler-Oauth2-Authentication \
--query identity.principalId -o tsv)
# Grant Key Vault Secrets User role
az role assignment create \
--assignee $LOGIC_APP_IDENTITY \
--role "Key Vault Secrets User" \
--scope /subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.KeyVault/vaults/<KEYVAULT_NAME>
Alternatively, use the Azure Portal:
Test the authentication by manually running the Logic App:
access_token"Parameter value missing" error in Key Vault connection
az resource update \
--ids "/subscriptions/<SUB_ID>/resourceGroups/<RG>/providers/Microsoft.Web/connections/Keyvault-Zscaler-Oauth2-Authentication" \
--set properties.alternativeParameterValues.vaultName="<KEYVAULT_NAME>"
"Forbidden" error when accessing Key Vault
client-secret exists in the Key VaultOAuth2 token request fails
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊