Invoke-CsUcsRollback -Identity "Ken Myer"
https://docs.microsoft.com/en-us/powershell/module/skype/invoke-csucsrollback?view=skype-ps
Oct 26 2018 09:46 PM
Hi,
We really need you help, we were looking for a solution for this error for days, but didn't found something.
We are getting an error when we want to migrate a particular user to the cloud.
Firstable we migrate all Exchange users to cloud, now we're migrating the Skype for Business users to the cloud. We are getting errors only in some critical users.
During the migration, the error we are getting is this:
PS C:\Users\user> Move-CsUser -Identity user1@domain.com -Target sipfed.online.lync.com -Credential $credConfirmMove-CsUser[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help(default is "Y"):Move-CsUser : Rollback from Unified Contact Store failed for user:user@domain.com with exception: #CTX#{ctx:{traceId:18446744071610761760,activityId:"23194ce2-4afe-4ebf-83fd-ebc4076fdc7d"}}#CTX#Access Denied.At line:1 char:1-Credent ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Move-CsUser], RollbackException+ FullyQualifiedErrorId : Microsoft.Rtc.Management.AD.Helpers.RollbackException,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet*********************************************************************************************
We did a UCS test with the same account, and we got this error:
PS C:\Users\user> Test-CsUnifiedContactStore -UserSipAddress "sip:user1@domain.com" -TargetFqdn "domainprdsfbpool.domain.net"Target Fqdn : domainprdsfbpool.domain.netResult : FailureLatency : 00:00:00.0942429Error Message : Failed to subscribe to contacts:ErrorCode=2203,Source=DOMAINServer.domain.net,Reason=Contactsubscription to Exchange failed with an autodiscovererror,errortype=ErrorEwsClientFailureMicrosoft.Rtc.Signaling.DiagnosticHeaderDiagnosis :
So we did the same test with another user with mailbox and skype onpremise, and got a SUCCESS result:
PS C:\Users\user> Test-CsUnifiedContactStore -UserSipAddress "sip:user2@domain.com" -TargetFqdn "domainprdsfbpool.domain.net"Target Fqdn : domainprdsfbpool.domain.netResult : SuccessLatency : 00:00:00.0999327Error Message :Diagnosis :
To verify some scenarios, we did the same test with another user mailbox and skype already migrated to the cloud, and also got a "SUCCESS" result:
PS C:\Users\user> Test-CsUnifiedContactStore -UserSipAddress "sip:user3@domain.com" -TargetFqdn "domainprdsfbpool.domain.net"Target Fqdn : domainprdsfbpool.domain.netResult : SuccessLatency : 00:00:01.6544878Error Message :Diagnosis :
Finally we made another test, with another account which already has the mailbox migrated to cloud, but not yet the skype for business account. However, after the test we migrated it to cloud without problems.
The error we got before migrating was different:
PS C:\Users\user> Test-CsUnifiedContactStore -UserSipAddress "sip:test4@domain.com" -TargetFqdn "domainprdsfbpool.domain.net"Target Fqdn : domainprdsfbpool.domain.netResult : FailureLatency : 00:00:00.1659165Error Message : User has not been migrated. Verify that the user has a mailboxin Exchange and that the user has been migrated.Diagnosis :
Please, someone has any idea what could happen with this account?
Thanks a lot for your help!
Regards!!!
Nov 02 2018 01:06 PM
I see that it fail on the UCS rollback because of admin permissions.
Are you able to run this?
Invoke-CsUcsRollback -Identity "Ken Myer"
https://docs.microsoft.com/en-us/powershell/module/skype/invoke-csucsrollback?view=skype-ps
Mar 31 2022 12:53 PM
What is the solution to this error ? @AlexanderHolmeset