Unauthorized Error When Fetching Relationship from Purview API

Khushboo Shah 20 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.
Microsoft Security | Microsoft Purview
{count} votes

Your answer

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