Purview Governance Create Classification via powershell

Raja Khan 0 Reputation points
2024-09-05T12:23:27.3633333+00:00

is there a way to create Classification in purview via powershell script, i'm able to create, delete list collections but API reference doesn't detail much about how to use this api.

i saw that get classification was in entity section of data map, used and i tried many days now success.

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,133 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 88,636 Reputation points Microsoft Employee
    2024-09-06T04:05:59.34+00:00

    @Raja Khan - Thanks for the question and using MS Q&A platform.

    Currently. there is no programatic (PowerShell, CLI or Rest API) way to create Classification via powershell.

    These are the available powershell and rest apis for MS Purview:
    https://learn.microsoft.com/en-us/powershell/module/az.purview/?view=azps-12.3.0&viewFallbackFrom=azps-12.1.0

    https://learn.microsoft.com/en-us/rest/api/purview/

    Here is the update from internal team: Programatic way to use data goverance will be coming shortly. We don't have ETA and I will be updated this thread once it's available.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

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