question

PhilWhitmore-0628 avatar image
0 Votes"
PhilWhitmore-0628 asked 35247258 edited

Azure Terms of Use scripting

I'm working on scripting the provisioning of Conditional access policies through PowerShell with the Microsoft.Graph and AzureADPreview modules. I have so far been unable to find a scripted method of getting the Terms of Use AgreementID to allow me to feed this into a variable which is dependent on the environment

Anyone have any ideas on how to complete this?

azure-active-directoryazure-ad-b2b
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DianaWanjuhi-1579 avatar image
0 Votes"
DianaWanjuhi-1579 answered

Hello @PhilWhitmore-0628 Thank you for reaching out. Are you asking how to list the terms of use of an agreement ?

If so, you can use the get-mgagreement cmdlet which is part of the Microsoft Graph PowerShell SDK.

Let me know if this helps and if you have further questions,

Diana.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.