Unauthorized Error When Fetching Relationship from Purview API

Khushboo Shah 0 Reputation points
2024-04-12T07:02:34.3733333+00:00

I encounter an "Unauthorized" error message when fetching a relationship from the Purview API. The specific error response is:

Endpoint: https://{purview account}/datamap/api/atlas/v2/relationship/guid/{assetGUID}?extendedInfo=false

{
  "error": {
    "code": "Unauthorized",
    "message": "Not authorized to access account"
  }
}

I have already checked my API credentials and they seem to be correct. Has anyone else encountered this issue, and if so, what steps did you take to resolve it? Any insights or suggestions would be greatly appreciated.

Azure Data Catalog
Azure Data Catalog
An Azure service that serves as a system of registration and system of discovery for enterprise data assets.
103 questions
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,217 questions
{count} votes

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.