question

genelibardi-8048 avatar image
0 Votes"
genelibardi-8048 asked IanLJohnson-7361 edited

How to grant access to Microsoft.AzurefrontDoor-Cdn

I need to associated an SSL certificated with my CDN

I've uploaded the certificate to the keyvault, but in order to allow CDN to use this certificate I need to grant access to CDN service principal as stated in this message:

105512-image.png



When I try to add the access, I can't find any principal with this name. An old answer in the forums says:

"search for a Service Principal with ID "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8"" But that ID is not found.

How do I solve this problem?

azure-key-vaultazure-cdn
image.png (17.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered IanLJohnson-7361 edited

Hi @genelibardi-8048 · Thank you for reaching out.

You need to first run below cmdlet to create the servicePrincipal:

New-AzADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8"

Read more: Tutorial: Configure HTTPS on an Azure CDN custom domain


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Getting "New-AzADServicePrincipal : Resource not found for the segment 'me'." error

0 Votes 0 ·

getting:
New-AzADServicePrincipal: Another object with the same value for property servicePrincipalNames already exists.

And that is correct, the object is "Microsoft.Azure.Cdn" and not "Microsoft.AzureFrontDoor-Cdn". So what to do?

Edit:

Found it,
Sseach for principle exactly as Microsoft.Azure.Cdn (with dots)

0 Votes 0 ·