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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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! | |