Azure / api-management-policy-snippets

Re-usable examples of Azure API Management policies
MIT License
326 stars 147 forks source link

Invalid Policy Expression Sample #117

Open oahmed-OS opened 8 months ago

oahmed-OS commented 8 months 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 7 months ago

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