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
I am trying to generate token using REST APIs. When MFA is being turned on for the user, the previously made use cases are failing and I'm getting the error when getting access_token:
error_description: AADSTS901002: The 'resource' request parameter is not supported.
Trace ID: 725a1238-6627-4532-9810-be8819b76500
Correlation ID: e9a0e1e8-df1e-40b2-9899-c2ff94bf1d51
Timestamp: 2020-12-23 10:19:10Z
error_codes: 901002
If a user has MFA on and if I want to generate Bearer token through the API to generate token, how should I proceed?
Thanks,
Ratan
You may refer to blogs as below for more details, and I hope they could help you solve your problem.
Bolg1: Multi Factor Auth with Service API
Blog2: Multi-factor Authentication for Power BI – O365
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 17 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |