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
RuiPatricio
Frequent Visitor

Authentication to a REST API

I have a REST api that is secured with a Bearer token provided by MS Graph/AzureAD. 

I did some testing by hard-coding the bearer token into my query and it works. 

 

My question is: 

Is there a method for me to sign-in when I do a refresh so I can get a valid token?

I think, ideally, I would like the default sign-in page from login.microsoft.com to come up when I atttempt to sign-in (thus supporting MFA), but I'm open to suggestions. 

 

1 REPLY 1
lbendlin
Super User
Super User

That's a question between you and the API provider.  Are you on a company AAD? Have you considered writing a custom connector?

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.