Unable to add custom domain to static web app

Doug Dexter 5 Reputation points
2024-03-13T10:28:54.9133333+00:00

I created a static web app in Azure and yesterday was able to go through the process of adding a custom domain to the app via this link:

https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain-external

I updated the DNS settings and CNAME at my registrars site and attempted to add the custom domain, however the validation kept failing so I decided to wait a day to see if the changes propogated out overnight however this morning the add however the add button is now disabled and a message reads

"You may experience reduced functionality due to missing access control permissions. "

But I checked IAM and I am a contributor to this resource.

Why am I not able to add custom domain all of the sudden?

Screenshot 2024-03-13 062529

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Doug Dexter 5 Reputation points
    2024-03-17T14:57:42.18+00:00

    I checked this morning and it looks like I now have the option to add a custom domain again:

    User's image

    I added a custom domain name as follows:

    User's image

    And clicked next

    Now on this screen, User's image

    I check on my DNS Provider to make sure the CNAME is set up correctly, which it appears to be:User's image

    I click add:

    User's image

    The record indicates the DNS is validated:

    User's image

    I click close:

    User's image

    Then I receive this error:

    User's image

    User's image


  2. Manfred Nysted Berry 0 Reputation points
    2024-03-18T16:34:32.3366667+00:00

    Solved: It was an RBAC issue in my case.


    I'm still having the issue that I cannot add a custom domain for my static web app.

    I'm the Subscription Administrator and have also added myself as admin to this resource.User's image

    Any help would be appreciated to get this fixed.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.