Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Lifetime of DI connection

(0) ShareShare
ReportReport
Posted on by 4

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:

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes

 

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.

 

 

  • Power Platform Communities Profile Picture
    4 on at
    RE: Lifetime of DI connection

    If you haven’t already, you should post this question in the D365 Finance forum https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans