Working on creating a User Provisioning automation to create AzureAD accounts. I need to verify license availability for the appropriate M365 License. I have the AzureAD orchestration in place, and the SaaS Management discovery piece working. I would like to verify if there are available M365 licenses (E3, F1, etc.), and if not pause and create a task or ticket to procure more licensing - which will be a process outside of Freshservice. I’m not seeing a way to either (1) read the SaaS discovery data, or query Azure AD for licenses. I can see where I can assign licenses (however, I’m using Group Based Licenses) using the AzureAD Orchestration.
Thoughts and ideas on how to accomplish this?