Click here to Skip to main content
15,880,956 members
Articles / Programming Languages / PowerShell

Implementing Azure Information Protection in MS Office documents and PDFs programmatically

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
20 Jun 2021CPOL3 min read 12K   2  
How to set classification label to an Excel/Word/PDF file at the time of its creation during runtime programmatically
In this example, we will create an Excel/PDF/Word file with some dummy data and will invoke PowerShell command Set-AIPFileLabel to classify these documents programmatically. This solution is targeted for developers, architects, COE working on automating business processes that involve MS Excel/Word/PDFs. For more interesting articles, tips & tricks please visit my blog - https://aditya07121990.blogspot.com/

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Employed (other)
India India
I am currently employed with a top global bank as Technical manager and part of Robotics Process Automation maintenance team with over 9 years of experience in digital automation space and delivered projects across industries such as Telecom, Insurance, Finance, Retail, Banking etc.

Comments and Discussions