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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mSchmidt
New Member

PowerBI Rest API - forced expiration after 90 days?

Hi,

Iam looking into using the REST api to send data from our customers solutions to PowerBI.

We will be using a windows service to stream live data to PowerBI.


However as i read it the customer would manually need to reenter their credentials every 90 days, is that correct ?

https://support.office.com/en-ca/article/Session-timeouts-for-Office-365-37a5c116-5b07-4f70-8333-5b8...

4 REPLIES 4
DavidCastillo4
New Member

Are there plans to do away with folks having to change their passwords every 90 days?  Who's bright idea was that.  I can't expect my clients to have to manage and change their passwords every 90 days is why.

This is ridiculous! Could you at least document it clearly so I knew to expect it, instead of finding out the hard way when a production client dashboard is down?

 

Anyway around it? 

BlowfishUK
New Member

You may want to consider looking into the DevScope PowerBIPS Module

 

It is possible to use the Get-PBIAuthToken cmdlet to get an authentication token to access PowerBI with a combination of Username, Password and Client ID. This token can be scripted.

 

I am currently uploading data directly to PowerBI from PowerShell scripts using this method. As a new token is obtained each time the script is run, timout isn't a problem.

faisalmo
Microsoft Employee
Microsoft Employee

Hi - we are looking for ways to make this better. But for now, yes there's an Azure AD limitation that 90 days is the valid lifetime of the token.

 

Faisal Mohamood | Product Manager | Power BI

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.