# Authorization Fails for azure\_appservice\_web\_app\_auth\_settings

**URL:** <https://community.cloudquery.io/t/authorization-fails-for-azure-appservice-web-app-auth-settings/1023>\
**Category:** CloudQuery Plugins\
**Created:** [March 11, 2025, 3:15pm UTC](https://community.cloudquery.io/t/authorization-fails-for-azure-appservice-web-app-auth-settings/1023 "2025-03-11T15:15:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jschafer](https://sea1.discourse-cdn.com/flex001/user_avatar/community.cloudquery.io/jschafer/32/55_2.png) [@jschafer](https://community.cloudquery.io/u/jschafer)\
**Post date:** [March 11, 2025, 3:15pm UTC](https://community.cloudquery.io/t/authorization-fails-for-azure-appservice-web-app-auth-settings/1023/1 "2025-03-11T15:15:20Z")

</div>

We have experienced a 403 error for `azure_appservice_web_app_auth_settings` using the setup as described in [https://hub.cloudquery.io/plugins/source/cloudquery/azure/latest/docs](https://hub.cloudquery.io/plugins/source/cloudquery/azure/latest/docs). The other tables we have synced using that method work fine. It looks like y’all are using the original `GetAuthSettings`. We have had success using GetAuthSettingsV2, but not sure if that’s the issue or not. This table is needed for the Azure CISv2.1 Benchmark check 9.1. Thank you in advance for any assistance y’all can provide.

Here is the error we get in the logs.

```auto
ERR table resolver finished with error error="POST https://management.azure.com/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Web/sites/<app name>/config/auth
settings/list\n--------------------------------------------------------------------------------\nRESPONSE 403: 403 Forbid
den\nERROR CODE: AuthorizationFailed\n--------------------------------------------------------------------------------\n{
\n \"error\": {\n \"code\": \"AuthorizationFailed\",\n \"message\": \"The client '<client id>' with object id '<object id>' does not have authorization to perform action 'Microsoft.Web/
sites/config/list/action' over scope '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Web/sites/<app name>/config/authsettings' or the scope is invalid. If access was recently granted, please refresh your credentials.\"\n }\n}\n--------------------------------------------------------------------------------\n" client=subscriptions/<subscription id> invocation_id=<invocation id> module=azure-source table=azure_appservice_web_app_auth_settings

```
