Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Automate assigning licenses and putting members into AAD groups



The scenario is as follows.


Customers will sign up to our BI offering (powered by Power BI ofc) via our website, key info will be asked for


- Name

- Email

- Company 



I need to come up with a way of automating the following


- Storing those key details somewhere (what would be the best solution here)


- Assigning a license to that initial user (we are giving customers PPU licenses until we hit a point where it's commercially viable to have Premium Capacity).


- Creating an AAD group, based on the company name


- Putting that initial user into that AAD group


- Is there a way to automate the creation of Roles in the reports and assigning AAD groups to those roles in the service


From Googling it looks as though Power Automate or Powershell are two possible solutions.  I have very little experience with Powershell but have experience with Power Automate.


Does anyone have some advice or link to resources? 



Super User
Super User

Hi @Nickpw 

This sure does sound like you need an entire solution built to get this done. I would suggest if you are trying to do this, do it one step at a time.


Another alternative is to look for a Microsoft Power Platform partner who can assist you with getting this implemented.


Find a Partner | Microsoft Power BI

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Power BI Blog

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors