Why am I getting this error message?

MATT STAFFORD 0 Reputation points
2024-08-09T19:40:37.7333333+00:00

More events in the activity logDismiss all

  • [Failed to update static website settings](https://portal.azure.com/#"Failed to update static website settings") Failed to update static website settings for 'selfcreditmasterycom'. Error: This request is not authorized to perform this operation using this permission. RequestId:dd1b8b6a-401e-008f-7392-ea18d1000000 Time:2024-08-09T19:29:57.1230880Z 7 minutes ago
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,218 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
966 questions
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 8,080 Reputation points
    2024-08-09T20:43:59.0566667+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    To resolve this issue, you can take the following steps:

    • Verify that the account or service principal has the necessary permissions to update static website settings.
    • If the permissions are insufficient, assign the appropriate role to the account or service principal.
    • Ensure that any access policies or restrictions that might be impacting the operation are reviewed and adjusted if necessary.
    • Check the activity logs in Azure to see if there are any additional details or related errors that might provide more context on the permission issue.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments

  2. akinbade abiola 18,300 Reputation points
    2024-08-09T20:47:18.7966667+00:00

    Hello MATT STAFFORD,

    Thanks for your question.

    This is an RBAC issue.

    1. Go to Storage account > IAM > Add role assignment.
    2. In 'Add Role Assignment', add the below roles if you are trying aCRUD operation:
      1. Storage Blob Data Contributor
      2. Storage Queue Data Contributor

    However if required see other roles here: https://video2.skills-academy.com/en-us/azure/role-based-access-control/built-in-roles#storage

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

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.