Hi @Kay Peek,
Thank you for posting your query on Microsoft Q&A.
Based on your query, I understand that you have an issue while updating the certificate for a federated domain.
As per the description, you have tried updating the federate domain certificate using Confirm-MsolDomain
. This command is used to verify the federated domain, that is the reason you have seen the error. If you would like to update the certificate for federated domain, you need to use set commands. Here is the document which helps you in understanding the update of certificates: Set-MsolDomainFederationSettings
Here is the command to check the status of updated certificate:
Set-MsolDomainFederationSettings [-SigningCertificateUpdateStatus <SigningCertificateUpdateStatus>]
Once you update the certificate you can restart the services of federation to check the status accordingly.
If this does not help you, you can also update the certificate using MgGraph:
-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
-
Install-Module Microsoft.Graph -Scope CurrentUser -Repository PSGallery -Force
-
Get-InstalledModule Microsoft.Graph
-
Update-MgDomainFederationConfiguration -DomainId <String> -InternalDomainFederationId <String> [-SigningCertificate <String>]
-
Restart-Service -Name winmgmt(Name of the service)
Here is the referenced document: Update-MgDomainFederationConfiguration
I see you also had a discussion with our service team regarding the admin lost access. If you lost access to the tenant, our team would collect the required information and validates it. Once the validation is done, you will be assisted further in gaining the access back. If your still not resolved, kindly let me know we are happy to assist you from our end.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment"