Forum Discussion
Manually create user in power bi account
Hi,
I need to create user manually using code in my power bi pro account. I can add new users from the admin center but I want to create user manually using code or powershell or any other way. Is this possible to create user manually in power bi account?
Please help me in this
Thanks...
You can create users in Azure AD with PowerShell:
https://www.petri.com/create-azure-active-directory-users-using-powershell
https://www.petri.com/use-powershell-create-assign-licenses-office-365-users
The last one includes assigning a license as I expect you would need to create the user account and then assign a Power BI license to it.
2 Replies
- Greg_DecklerCommunity Champion
You can create users in Azure AD with PowerShell:
https://www.petri.com/create-azure-active-directory-users-using-powershell
https://www.petri.com/use-powershell-create-assign-licenses-office-365-users
The last one includes assigning a license as I expect you would need to create the user account and then assign a Power BI license to it.
- KrunalbpatelHelper III
Greg_Deckler Thanks for your reply
this link has worked for me https://www.petri.com/use-powershell-create-assign-licenses-office-365-users