@Dalvi, Satish - Thanks for the question and using MS Q&A platform.
To assign a glossary to assets in bulk using a script, you need to make sure that you have the correct asset_guid
and glossary_term_guid
. The asset_guid
is the unique identifier for the asset in Purview, and the glossary_term_guid
is the unique identifier for the glossary term that you want to assign to the asset.
Based on the code you provided, it seems that you are using the correct API endpoint to assign the glossary term to the asset. However, the error message you received indicates that there was an issue processing your request. This could be due to a transient issue, so you may want to try running the operation again.
Make sure that you have the necessary permissions to assign glossary terms to assets in Purview. You can check your permissions by going to the Purview account settings and reviewing the access policies.
If the issue persists, you may open a support ticket with the requestId
and errorCode
provided in the error message for further assistance.
Hope this helps. Do let us know if you any further queries.