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?