Showing results for 
Search instead for 
Did you mean: 
New Member

Lifetime of DI connection

Hi Team, 


we are using DI to integrate CE and Fin ops.


DI projects were having the issue.


The sync failed with error "Connection validation failed. Connection 'xyz' is not valid.
[Bad Request], The remote server returned an error: (400) Bad Request."


Issue was mitigated by updating the expired connection in DI and cause was: The Power Apps Connection to CRM had a status of not connected.  Clicking the "Fix Connection" link solved the issue."


Now we are aware that the connection will expire if the validity of the refresh token expired.

More details about the token lifetime, please check the following document:


In our current scenario (Using DI to integrate CE and fin ops):

  • Where we can check the validity of the refresh token and if we need to extend the lifetime of the token how it can be done?
  • The validity of refresh token for connection in power portal


  • is it dependent on the users who has created the connection, User would be present in the AAD and we obtain the refresh token for the particular user and it will have some validity period.
  • it is dependent on the type of connection used like in our current scenario the connection to CRM was expired hence for CRM connection type we obtained the refresh token and it will have some validity period.
  • Is there any way to check the services for which the refresh token for DI connection is obtained and how they can see the default settings and shorten / extend the refresh token validity.
New Member

Re: Lifetime of DI connection

@v-yuazh-msftKindly provide your valuable suggestion 

Helpful resources


Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!


Community Highlights

Check out whats happening in Power Apps


Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,389)