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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-rzhou-msft
Community Support
Community Support

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors