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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

LCS Rotating secrets not working

(1) ShareShare
ReportReport
Posted on by 26
We have not used the environment in some time, and our SSL cert has expired. In LCS I have been trying to /rotate secrets/ however after running for some time this results in /incomplete/.
I have logged into the VM using the username / password on the LCS environment details page - and windows warned me the users password had expired and needed changing. I updated the user account and set password not to expire, and kept it the same as the LCS environment page. I tried to rotate secrets again - same problem /incomplete/.
In the environment history there is no mentiong of even the attept of rotating secrets - its like nothing happens from the LCS environment history tab perspective.
 
How can I remedy this?
 
In addition - there are update packages to apply via LCS but these fail to. I was suspecting that the secret needed to be rotated first as perhaps the expired SSL cert causes the update attempt to fail.
I have the same question (7)
  • André Arnaud de Calavon Profile Picture
    303,338 Super User 2026 Season 1 on at
    Hi Darrell,
     
    When rotating the secrets, the VM should be running. I thought it is trying to use the credentials from the LCS environment page. In case you changed the password (maybe you didn't), the rotating secrets can't be executed then.
    Have you checked if all licenses are still valid? The VM comes with time-limited evaluation software. Maybe the Windows license and/or SQL got expired?
     
    Anyway, if you deploy a new environment everything should work smoothly again.
  • Verified answer
    Darrell Tunnell Profile Picture
    26 on at
    Figured out the issue in the end
     
    Rotate secrets will fail if the WinRM ssl cert on the machine expires. Issue / fix described here https://cloudblogs.microsoft.com/dynamics365/it/2018/05/02/how-to-update-the-winrm-ssl-certificate-on-environments-deployed-in-your-subscription/
     
    Once I worked through this (the procedure itself had some issues I needed to workaround tsssk) then I was finally able to rotate secrets.
  • André Arnaud de Calavon Profile Picture
    303,338 Super User 2026 Season 1 on at
    Thanks for providing your solution for the community, Darrell. I have marked your reply as a verified answer. 
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,506 Super User 2026 Season 1 on at
    HI,
     
    Another suggestion is in case, if the Rotate Secret SSL is not working the first time then you need to first do the following to make the Rotate secrets work.
    1. Rotate Dynamics Deployment certificate 
    2. Rotate Monitoring agent certificate
     
    Once the above mentioned certificates work then you can do a Rotate SSL certificate 
     
  • CU29041349-0 Profile Picture
    610 on at
    Hi Darrell,
    Having the same issue. Followed the article but could not find the Share asset library. Under Asset library > Model, I only see "Dynaway EAM [version]. Hoping you (or anyone) can provide some further details. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans