Azure / api-management-policy-snippets

Re-usable examples of Azure API Management policies
MIT License
345 stars 157 forks source link

Invalid Policy Expression Sample #117

Open oahmed-OS opened 1 year ago

oahmed-OS commented 1 year ago

Policy example Get OAuth2 access token from AAD using client id and certificate using key vault manage identity uses RSACng for its signing operations. However, per the APIM Policy Allowed Types list this is not an allowed type and attempting to use this type in an APIM policy results in the error message Usage of type 'System.Security.Cryptography.RSACng' is not supported within expressions

tomkerkhove commented 1 year ago

Thanks for letting us know; are you willing to send a PR?