Skip to content

Commit b6bd604

Browse files
move to cloud specific audience section
1 parent ed530dd commit b6bd604

2 files changed

Lines changed: 3 additions & 14 deletions

File tree

articles/azure-app-configuration/concept-enable-rbac.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ Follow these steps to assign App Configuration Data roles to your credential.
6464

6565
When using Entra ID and the following Azure App Configuration libraries in clouds other than Azure cloud, Azure Government, and Microsoft Azure operated by 21Vianet, an appropriate Entra ID audience must be configured to enable authentication.
6666

67+
> [!TIP]
68+
> If you got the error `AADSTS500011: The resource principal named https://appconfig.azure.com was not found in the tenant named msazurecloud.` when connecting to Azure App Configuration, it's because you're using App Configuration in specific clouds without explicitly configuring the Microsoft Entra ID audience. To resolve the issue, follow the code snippets below.
69+
6770
### [.NET](#tab/dotnet)
6871

6972
The Audience for the target cloud must be configured for the following packages.

articles/azure-app-configuration/faq.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -237,20 +237,6 @@ sections:
237237
238238
Feature filters can evaluate a feature flag based on the properties of an HTTP Request. This is usually performed by inspecting the `HttpContext` through the singleton `IHttpContextAccessor` [pattern](https://learn.microsoft.com/en-us/azure/azure-app-configuration/howto-targetingfilter-aspnet-core#update-the-web-application-code-to-use-targetingfilter). However, this pattern doesn't work for [Blazor server applications](https://learn.microsoft.com/en-us/aspnet/core/blazor/security/server/interactive-server-side-rendering?view=aspnetcore-7.0#ihttpcontextaccessorhttpcontext-in-razor-components) where scoped services should be used instead. In this case, `AddScopedFeatureManagement` method should be used.
239239
240-
- question: Why do I get the AADSTS500011 error when connecting to my Azure App Configuration?
241-
answer: |
242-
If you get the following error:
243-
244-
```bash
245-
AADSTS500011: The resource principal named https://appconfig.azure.com was not found in the tenant named msazurecloud. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant.
246-
```
247-
248-
This error occurs when you're using Azure App Configuration in specific clouds, but the Microsoft Entra ID audience isn't explicitly configured.
249-
250-
The issue doesn't occur in Azure Public Cloud, Azure Government, Microsoft Azure operated by 21Vianet (China). In these clouds, the Azure App Configuration SDK automatically sets the correct Microsoft Entra ID audience.
251-
252-
To resolve the issue, configure the cloud-specific **audience** for Entra ID authentication. For more information, see [Cloud-specific audience for Entra ID authentication](./concept-enable-rbac.md#cloud-specific-audience-for-entra-id-authentication).
253-
254240
- question: How can I receive announcements on new releases and other information related to App Configuration?
255241
answer: |
256242
Subscribe to our [GitHub announcements repo](https://github.com/Azure/AppConfiguration-Announcements).

0 commit comments

Comments
 (0)