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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 9 | |
| 9 | |
| 6 | |
| 6 |