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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.