You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aspire Project in Visual Studio 2022, during deployment to Container Apps returns this error:
**Error deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidAccessPolicyAssignment: An invalid access policy assignment was detected due to duplicate entries. Please review and ensure that each assignment has a unique combination of assignmentName, policyName, and objectId to avoid such duplicates. For more information, please refer to the following link: https://aka.ms/redis/MicrosoftEntraAuthenticationPrerequisites.**
The first deployment succeeded and created an Azure Redis cache element. From the second Publish, doesn't deploy anymore.
Expected Behavior
Deploy correctly without errors
Steps To Reproduce
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddAzureRedis("MyCache");
Is there an existing issue for this?
Describe the bug
Aspire Project in Visual Studio 2022, during deployment to Container Apps returns this error:
**Error deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidAccessPolicyAssignment: An invalid access policy assignment was detected due to duplicate entries. Please review and ensure that each assignment has a unique combination of assignmentName, policyName, and objectId to avoid such duplicates. For more information, please refer to the following link: https://aka.ms/redis/MicrosoftEntraAuthenticationPrerequisites.**
The first deployment succeeded and created an Azure Redis cache element. From the second Publish, doesn't deploy anymore.
Expected Behavior
Deploy correctly without errors
Steps To Reproduce
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddAzureRedis("MyCache");
builder.AddProject<Projects.Portal>("portal")
.WithReference(cache)
.WithExternalHttpEndpoints();
builder.Build().Run();
Exceptions (if any)
No response
.NET Version info
.NET SDK:
Version: 9.0.100
Commit: 59db016f11
Workload version: 9.0.100-manifests.c6f19616
MSBuild version: 17.12.7+5b8665660
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100\
.NET workloads installed:
[android]
Installation Source: VS 17.13.35507.96, VS 17.12.35514.174
Manifest Version: 35.0.7/9.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.android\35.0.7\WorkloadManifest.json
Install Type: Msi
[aspire]
Installation Source: VS 17.13.35507.96, VS 17.12.35514.174
Manifest Version: 8.2.2/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.2.2\WorkloadManifest.json
Install Type: Msi
Anything else?
-Asp.net Core 9
-Visual Studio 2022 17.12.1
The text was updated successfully, but these errors were encountered: