I have a macro that creates and saves multiple word and excel documents. Recently, My organisation started using Microsoft Azure protection. It always asks the user to choos
Azure Information Protection (AIP)
The answer is not currently. See quote below.
I personally wouldn't have thought this likely given that it is a paid-for security feature.
Interim solution:
As an interim solution, depending on your needs, have you considered having your admin set a default classification?
In addition to manually selecting labels, labels can also be applied in the following ways:
Your administrator configured a default label, which you can keep or change........
Feedback from Microsoft indicates this ....
might be solved with the new SDK that supports the programmatic application of labels. However, this SDK not yet available in public preview. You might be able to try it private preview if you ask about it on the Yammer site: https://www.yammer.com/AskIPTeam
There...
is User Voice entry for this SDK, ...[which may] be updated when it becomes publically available ...if you vote for it, you also get notified: https://msip.uservoice.com/forums/600097-azure-information-protection/suggestions/19602292-update-the-sdk-api-for-aip-to-include-classificati%C2%A0
The SDK documentation I saw, seemed to be in relation to C#, but that is just my observation. See developer link.
Note:
I did a quick search of their feedback site, Ideas that relate to Azure Information Protection (AIP), for developments, using search terms VBA and programming classification, this yielded nothing.
This question has now been raised by a user here:
https://docs.microsoft.com/en-us/information-protection/get-started/infoprotect-tutorial-step4#comme
Other resources: