[BUG] App registration scope fails validation if contains underscores #43895
Labels
Azure.Identity
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Milestone
An API scope with an underscores fails validation by
com.azure.identity.implementation.util.ScopeUtil
. Such asapi://<app_id>/user_impersonation
.The same issue has been fixed in the .net SDK in 2022, but remains in the Java SDK.
Azure/azure-sdk-for-net#30647
This pattern needs to allow underscore:
azure-sdk-for-java/sdk/identity/azure-identity/src/main/java/com/azure/identity/implementation/util/ScopeUtil.java
Line 16 in 9a50508
The text was updated successfully, but these errors were encountered: