Forum Discussion
MWLjdb
Nov 10, 2021Brass Contributor
API to Azure Purview
I can successfully generate the bearer token via API to our purview instance, but any time I try any other API call, I get the following. This includes using the "Try it" button from the API documen...
- Aug 18, 2022Difference for me using Piethein's excellent instructions was the change of resource from 'https://management.core.windows.net/' (getting that "Invalid token audience" error) to 'https://purview.azure.net'.
GuillaumeBerthier
Feb 21, 2022Brass Contributor
MWLjdb actually by digging a bit more I found an article (https://piethein.medium.com/use-azure-purviews-rest-apis-for-creating-custom-lineage-ad8efacc6230) from @pietheinstrengholt explaining step by step how to use Azure Purview's API and it worked ! (*)
....by the way all of the other articles from Piethein are very interesting (https://piethein.medium.com/) , a lot of good materials for Azure Purview, Azure Synapse, Spark, Data Mesh...ect
(*) not more.... {"error":{"code":"Unauthenticated","message":"Invalid token audience 00000002-0000-0000-c000-000000000000. Valid audiences: 73c2949e-da2d-457a-9607-fcc665198967, https://purview.azure.net "}}
MWLjdb
Feb 21, 2022Brass Contributor
awesome, I'll take a look