arjunchiddarwar I was able to setup the auth using a managed identity and successfully trigger the workflow with the auth. But then I am not able to view the run history in the portal / using rest api (used chrome debugger to get the APIs). I get this error:
url: /providers/Microsoft.Web/sites/mylogicresource/hostruntime/runtime/webhooks/workflow/api/management/workflows/workflow-t1/runs?api-version=2022-03-01
response: 401
"You do not have permission to view this directory or page."
authSettings:
"properties": {
"platform": {
"enabled": false,
"runtimeVersion": "~1"
},
"globalValidation": {
"requireAuthentication": false,
"unauthenticatedClientAction": "RedirectToLoginPage"
},
"identityProviders": {
"azureActiveDirectory": {
"enabled": true,
"registration": {
"openIdIssuer": "https://sts.windows.net/mytenantid/",
"clientId": "my tenantId"
},
"login": {
"disableWWWAuthenticate": false
},
"validation": {
"jwtClaimChecks": {},
"allowedAudiences": [
"https://management.azure.com"
],
"defaultAuthorizationPolicy": {
"allowedPrincipals": {
"identities": [
"xxxxxxxxxxxxxxx-28xxxxxxxx5"
]
}
}
}
},
If I make make the property enabled: true under platform, it allows me to the history but disables the auth. What kind of permissions do I need to enable?