Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
RatanMasanta
Regular Visitor

Authentication Token using REST API

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

1 REPLY 1
Anonymous
Not applicable

Hi @RatanMasanta 

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. 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.