@gvrspk ,
Thank you for using Microsoft Q&A.
To assist you effectively, please provide further information regarding the issue you are encountering.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am trying to create Entity in Azure Purview using API.
curl -v -X POST https://
@gvrspk ,
Thank you for using Microsoft Q&A.
To assist you effectively, please provide further information regarding the issue you are encountering.
Hi @gvrspk ,
Thankyou for using Microsoft Q&A platform.
It looks like you're trying to create an entity in Azure Purview using the API but facing some issue. Could you please elaborate what is the issue you are facing?
https://login.microsoftonline.com/common/oauth2/authorize
and the scope is https://purview.azure.net/.default
curl -v -X POST https://{your-purview-endpoint}/datamap/api/atlas/v2/entity?api-version=2023-09-01 \
-H "Authorization: Bearer {your-access-token}"
-H "Content-Type: application/json"
-d '{
"referredEntities": {},
"entity": {
"typeName": "azure_storage_account",
"attributes": {
"owner": "ExampleOwner",
"modifiedTime": 0,
"createTime": 0,
"qualifiedName": "https://exampleaccount.core.windows.net",
"name": "ExampleStorageAccount",
"description": null,
"publicAccessLevel": null
},
"customAttributes": {
"custAttr1": "attr1",
"custAttr2": "attr2"
}
}
}'
Hope it helps. Kindly accept the answer by clicking on `Accept answer`button. Thankyou