Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello everyone!
I am currently working on a project where I need to create folders in over 200 workspaces.
I am using an undocumented API for this task, as there is no official documentation available. However, I am facing an issue with generating the token automatically within the script.
For example, with the Power BI REST APIs, I can use the Get-PowerBIAccessToken function to obtain the token, but this method does not work in my current situation.
Does anyone know how I can achieve this?
Thanks in advance!
Hi @DimitraG - Please follow the resolved threads as below:
https://community.fabric.microsoft.com/t5/Developer/REST-API-Generate-access-token/m-p/3172021
https://community.fabric.microsoft.com/t5/Developer/REST-API-Generate-access-token/m-p/3181168
Proud to be a Super User! | |
| User | Count |
|---|---|
| 16 | |
| 15 | |
| 12 | |
| 11 | |
| 7 |
| User | Count |
|---|---|
| 44 | |
| 40 | |
| 33 | |
| 29 | |
| 21 |