I've been familiarizing myself with Power Apps Portals for the past month or so. I've looked into creating Dataverse tables, importing data for tables via Excel, querying said tables with Fetch XML on a Portals page with Liquid.NET, etc.
That being said, what I am trying to figure out is - how can I query a given Active Directory server, either with an on premise server or some AD instance in the cloud to get a current logged in user's user group?
I'm using the security group of the user to render specific reports on the page, like PowerBI, etc.
Has anyone created liquid code or done something else to help accomplish this on a Power Apps Portals page? If so - I would like to see an example.