tayganr / purviewcli

Microsoft Purview CLI
https://aka.ms/purviewcli
MIT License
48 stars 27 forks source link

createTermsExport issues #22

Open garycjwu opened 1 year ago

garycjwu commented 1 year ago

%env PURVIEW_NAME=your_PURVIEW_NAME %env AZURE_CLIENT_ID=your_CLIENT_ID %env AZURE_TENANT_ID=your_TENANT_ID %env AZURE_CLIENT_SECRET=your_CLIENT_SECRET

I've provided the account information as shown above. Then, I tried to createTermsExport command as below

!pv glossary createTermsExport --glossaryGuid=your_glossary_guid --termGuid=your_term_guid

I got the response as below: { "reason": "OK", "status_code": 200, "url": "https://digital-center-purview-prd.purview.azure.com/catalog/api/atlas/v2/glossary/your_glossary_guid/terms/export?api-version=2021-05-01-preview&includeTermHierarchy=False" }

However, the example you provided is something like the following: { "export": "/YOUR_FOLDER_PATH/export.csv", "status_code": 200 }

Could you please help me to clarify the reason why the response is different from what we expect? Thank you.