web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / GP LifeHacks / Dynamics GP & Power BI ...

Dynamics GP & Power BI – Resolve Error: This login failed

ShawnMD Profile Picture ShawnMD 1,456 User Group Leader

This blog post is part of a series of blogs designed to help a business understand the interaction between Dynamics GP and Power BI, how to setup Power BI with Dynamics GP and what some of the options are for this functionality.  This write up was done using Dynamics GP 2018.

To view the full list of the series, click here.

How to resolve “This login failed. Attempt to login again or contact your system administrator” error when connecting to Client ID

The error below may be presented when trying to update the Client ID in the Reporting Tools Setup window for Power BI.

GPPBI - 11- 1a

As best I can tell, this error results when the Client ID does not match a previously authenticated Client ID.  This can also happen if the Client ID is no longer available.  There may be other reasons that this occurs but in short, the fix is to remove the authentication information from the dynamics GP System database.

The table that holds this is syADALTokenCache.  Doing a simple select statement will show that it holds one record.  Note that my system database name is DYNGP18RTM while yours will likely by DYNAMICS.

GPPBI - 11- 2a

In my example, I have just one record - because only one user has authenticated... be sure to delete the record that applies to the user that is having the issue.  If you delete good/working authentications, you will need to re-authenticate each one.  Delete the record in this table (Delete syADALTokenCache where UserID = 'Replace with Actual UserID').  After the record is removed, return to GP and you will now be prompted to re-authenticate when updating the client ID and hitting OK.

Problem solved!

To learn more about “Dynamics GP & Power BI” continue reading this series by clicking here.

Thanks for reading!

Shawn


Shawn Dorward

Microsoft MVP, Business Solutions

GPLifeacks.com | LinkedIn | Twitter | GPUG | MSDYNGP

 

Original Post: https://gplifehacks.com/2018/02/28/dynamics-gp-power-bi-resolve-error-this-login-failed/

The post Dynamics GP & Power BI – Resolve Error: This login failed appeared first on GP Life Hacks.


This was originally posted here.

Comments

*This post is locked for comments