Error connecting to LCS Repo/ GlobalRepo: Sorry, something went wrong The authentication process was not successful. Please contact your system administrator.
Views (9)
After moving to service update 10.0.23, For customer hosted environments , users are not able to open Global repository/RCS repository/LCS repository and it fails with error message "Sorry, something went wrong The authentication process was not successful. Please contact your system administrator."
Steps to reproduce the error:
- Organization administration -> Workspaces -> Electronic Reporting
- Click on Repositories under a Configuration Provider
- Click on Global/RCS repository and then Open (from the top bar)
- Alternatively, click on Add and create repository for RCS.
- Click on the link from dialog box.
Workaround:
Execute this SQL script against the environment database. This should only be executed once you follow the reproduction steps at least once.
BEGIN TRANSACTION [T1]
BEGIN TRY
-- Step 1. Get correct certificate name from RCS appkey
DECLARE @RCS_APPKEY NVARCHAR(100)
SET @RCS_APPKEY = (SELECT APPKEY FROM SYSOAUTHCONFIGURATION WHERE SECURERESOURCE = 'http://configure.global.dynamics.com')
IF @RCS_APPKEY LIKE 'CN=%'
SET @RCS_APPKEY = SUBSTRING(@RCS_APPKEY, 4, LEN(@RCS_APPKEY)-3)
-- Step 2. Update SysOAuthConfiguration with correct appkey
UPDATE SYSOAUTHCONFIGURATION SET APPKEY = @RCS_APPKEY WHERE SECURERESOURCE IN ('https://lcsapi.lcs.dynamics.com', 'http://configure.global.dynamics.com')
COMMIT TRANSACTION [T1]
END TRY
BEGIN CATCH
ROLLBACK TRANSACTION [T1]
END CATCH source - LCS Details for issue 643616 (dynamics.com)

Like
Report
*This post is locked for comments