I'm getting the following when I try to add a custom certificate to custom domain for a CDN:
Failed to update custom domain properties
We don't have permission to access this secret. Go to "Access policies" in your Key Vault account to give Azure CDN permission to get secrets.
Before that I did:
New-AzADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8"
And then I added CDN in my access policies and pressed save.
Any idea why I am still getting this error? I've been troubleshoting for hours to finally arrive here with a custom certificate and I am stuck at this last step