Hi @Lucie,
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
**1.**PnP.PowerShell
Functionality: Connect to Office 365 and most related services and get ready to administer all services. The commandlet supports saving your administrative credentials in a safe manner so that it can be used in unattended files and allows easy recall from the command line using autocompletion of saved credentials. Allows PowerShell administration of: O365, Azure AD, Azure RMS, Exchange Online, SharePoint Online including PNP PowerShell
The below module does above functionality Import it from shared Gallery if this what you are looking for
2 AIPService
There is not direct module to for AIP please imports from powershellgallery link below
Refer: https://www.powershellgallery.com/profiles/AzureRMS
Click highlighted and import into your automation account
let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.