Error when setting up Purview Demo

Leau Bee Lin 91 Reputation points
2022-02-16T11:23:24.55+00:00

Got the below error with setting up Purview Demo in our environment as per https://github.com/tayganr/purviewdemo
I have owner rights to the subscription. For urgent advice and assistance, please.
Thanks.

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"AuthorizationFailed","message":"The client '5627f484-079f-475d-bcd0-784b3039c1b1' with object id '5627f484-079f-475d-bcd0-784b3039c1b1' does not have authorization to perform action 'Microsoft.Purview/accounts/write' over scope '/subscriptions/20d6eaa0-9bc1-49dc-be43-575a36c40752/resourcegroups/pvdemo-rg-0ulh6/providers/Microsoft.Purview/accounts/pvdemo0ulh6-pv' or the scope is invalid. If access was recently granted, please refresh your credentials."}]}

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,126 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,462 Reputation points Microsoft Employee
    2022-02-17T00:54:57.157+00:00

    Hello @Leau Bee Lin ,

    Thanks for the question and using MS Q&A platform.

    My understanding is that there seems to be a permission issue to the client ID mentioned in the error message. And you are following a GitHub article which is 6 months old. There has been few enhancements made to Purview product since it we to GA. Especially the roles and permissions (RBAC) is moved from Azure Portal access control to Collections in Azure Purview Studio.

    In case if you are not the owner of the purview account pvdemo0ulh6-pv (assuming it was already created). Please work with the owner who created the purview account to provide the necessary permissions as described in this document - Access control in Azure Purview

    175100-image.png

    175156-image.png

    In case if you are trying to create the Purview account for the first time then, I would recommend following this public document to create an Azure Purview account - Create an Azure Purview account in the Azure portal

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    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.