Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
@AlexHolmeset wrote:
Any idea whats wronge here?
What type is the AAD registered Application in your case? If the clientId is from a "Server-side Web app", then specify an extra option -clientsercet. Otherwise register a "Native app" and use the clientid alone.
@AlexHolmeset wrote:
Any idea whats wronge here?
What type is the AAD registered Application in your case? If the clientId is from a "Server-side Web app", then specify an extra option -clientsercet. Otherwise register a "Native app" and use the clientid alone.
I have registered it as a server-side web app. -Clientsecret is not a availible paramter for the Connect-powerbi commandlet. Il see if i can register as a native app.
What im trying to achieve is to connect/work with PowerBi trough powershell.
https://www.powershellgallery.com/packages/Microsoft.PowerBI.PowerShell/1.2
Worked when using using Native app. Thanks.
As the Azure App Registration UI is changed from legacy.
So you need to enable the addition setting called Default Client Type to Yes
to make sure your native app will works.
Thank you it was life saver for me!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |