Ask a question

Greg Zartman

Windows Server Essentials 2016 + Office 365 Password Sync Broken

Recently, we had a security issue that required a couple user passwords to be reset.  A person went and reset them in the Office 365 portal, which broke password sync on Windows Server Essentials.   I had this happen several years ago with Windows Server Essentials 2012, but I can't remember how I fixed it.  I do know that changing passwords in the Office 365 portal breaks the password sync with the onsite windows server.


What is the best way to troubleshoot and fix this?  


asked07/05/2021 16:45
737 views
Add Comment
User

i have the same issue and need help...

Mariette Knap

If you reset the password for that user in the Essentials Dashboard it will sync


replied 07/07/2021 19:50
User

No and i cant create New user with Office365

 

 

 

Password Change Notification Service received an RPC exception querying the status of the target. 

 

The password change notification target could not be contacted.

 

User Action:

The target server may not be running. Verify that the target server is running.

 

Additional Details:

 

 

Thread ID: 652 

Target: ESSENTIALS_PWD_SYNC_SERVERNAME

0x000006BA - Der RPC-Server ist nicht verfügbar.

 

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:54:732

Generating component is 2

Status is 1722 - Der RPC-Server ist nicht verfügbar.

Detection location is 1710

Flags is 0

NumberOfParameters is 1

Long val: 0

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:54:732

Generating component is 18

Status is 1722 - Der RPC-Server ist nicht verfügbar.

Detection location is 313

Flags is 0

NumberOfParameters is 0

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:54:732

Generating component is 18

Status is 10061 - Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.

Detection location is 311

Flags is 0

NumberOfParameters is 3

Long val: 65342

Pointer val: 0

Pointer val: 0

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:54:732

Generating component is 18

Status is 10061 - Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.

Detection location is 318

Flags is 0

NumberOfParameters is 0

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:53:732

Generating component is 18

Status is 1237 - Der Vorgang konnte nicht abgeschlossen werden. Er sollte wiederholt werden.

Detection location is 313

Flags is 0

NumberOfParameters is 0

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:53:732

Generating component is 18

Status is 10061 - Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.

Detection location is 311

Flags is 0

NumberOfParameters is 3

Long val: 65342

Pointer val: 0

Pointer val: 0

 

ProcessID is 4800

System Time is: 7/7/2021 19:19:53:732

Generating component is 18

Status is 10061 - Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.

Detection location is 318

Flags is 0

NumberOfParameters is 0


replied 07/07/2021 20:03
User

When i want delte one User 

Attached Files

replied 07/07/2021 20:04
Greg Zartman

I have tried multiple times to reset the password from the Dashboard, but it does not sync with O365.

Is there any kind of a log file or something to troubleshoot what's going on?


replied 07/07/2021 22:49
Mariette Knap

Did you change .Net settings for TLS on your server? If you have not done that then that is the reason for the problem. O365 now requires TSL 1.2


replied 07/08/2021 04:10
User

Where is the settings? Did you change .Net settings for TLS on your server? If you have not done that then that is the reason for the problem. O365 now requires TSL 1.2


replied 07/08/2021 09:19
Greg Zartman

There seems to be something else going on:


[1416] 210709.103633.2552: O365ManagementProvider(IO365Callback): ChangePassword:xxxxxxxxxxxxxxxxxxxxxx starts
[1416] 210709.103633.5521: GraphAdapter: Failed to call Graph service with status code 404 and error: {"error":{"code":"ResourceNotFound","message":"Invalid version: v2","innerError":{"date":"2021-07-09T17:36:33","request-id":"e4f99f5e-6ad7-4027-90a8-d025778ab74f","client-request-id":"e4f99f5e-6ad7-4027-90a8-d025778ab74f"}}}
[1416] 210709.103633.5521: O365ManagementProvider(IO365Callback): ChangePassword:18e5ccc6-e3e4-47af-b32b-bafa442e5213 failed due to O365ConfigurationFault = Unexpected
Microsoft.WindowsServerSolutions.O365Integration.O365ConfigureException: Failed to call Graph service with status code 404 and error: {"error":{"code":"ResourceNotFound","message":"Invalid version: v2","innerError":{"date":"2021-07-09T17:36:33","request-id":"e4f99f5e-6ad7-4027-90a8-d025778ab74f","client-request-id":"e4f99f5e-6ad7-4027-90a8-d025778ab74f"}}}
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.DefaultHandleGraphServiceError(Int32 statusCode, GraphServiceError error, Int32 retryTimes, Action`2 errorHandler)
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.<>c__DisplayClass60_1`1.<InvokeWebServiceWithRetry>b__1(Int32 statusCode, GraphServiceError error)
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.HandleGraphServiceException[TResult](Func`1 func, Func`3 errorHandler)
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.InvokeWebServiceWithRetry[TResponse](Func`2 func, Action`2 errorHandler)
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementCore.ChangePassword(String localUserName, String password)
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementProvider.<>c__DisplayClass30_0.<ChangePassword>b__0()
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderBase`1.InvokeOperation[TResult](String operationName, Func`1 func)
[1416] 210709.103633.5521: O365Manager: TResult : Boolean, args : Microsoft.WindowsServerSolutions.Common.ProviderFramework.OperationInvokeEventArgs`1[System.Boolean]
[1416] 210709.103633.5521: O365Manager: actualArgs : Microsoft.WindowsServerSolutions.Common.ProviderFramework.OperationInvokeEventArgs`1[System.Boolean]
[7480] 210709.103633.5521: O365ManagerPasswordSyncWrapper: Failed due to OperationInvokeException:Microsoft.WindowsServerSolutions.Common.ProviderFramework.OperationInvokeException: Failed to invoke <ChangePassword>b__0 ---> Microsoft.WindowsServerSolutions.O365Integration.O365ConfigureException: Failed to call Graph service with status code 404 and error: {"error":{"code":"ResourceNotFound","message":"Invalid version: v2","innerError":{"date":"2021-07-09T17:36:33","request-id":"e4f99f5e-6ad7-4027-90a8-d025778ab74f","client-request-id":"e4f99f5e-6ad7-4027-90a8-d025778ab74f"}}}
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.DefaultHandleGraphServiceError(Int32 statusCode, GraphServiceError error, Int32 retryTimes, Action`2 errorHandler)
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.<>c__DisplayClass60_1`1.<InvokeWebServiceWithRetry>b__1(Int32 statusCode, GraphServiceError error)
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.HandleGraphServiceException[TResult](Func`1 func, Func`3 errorHandler)
   at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.InvokeWebServiceWithRetry[TResponse](Func`2 func, Action`2 errorHandler)
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementCore.ChangePassword(String localUserName, String password)
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementProvider.<>c__DisplayClass30_0.<ChangePassword>b__0()
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderBase`1.InvokeOperation[TResult](String operationName, Func`1 func)
   --- End of inner exception stack trace ---
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ObjectModelBaseExtended`1.SyncWrapper[T](Action`1 act)
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagerPasswordSyncWrapper.<>c__DisplayClass18_0.<ChangePassword>b__0()
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagerPasswordSyncWrapper.CallWrapper[T](Func`1 func)
[7480] 210709.103633.5521: PasswordSyncManagementCore: Password Sync Configuration Issue: PwdSyncConfigurationFault = LocalProviderIssue
Microsoft.WindowsServerSolutions.PasswordSync.PwdSyncConfigurationException: Failed to invoke <ChangePassword>b__0
   at Microsoft.WindowsServerSolutions.O365Integration.O365ManagerPasswordSyncWrapper.CallWrapper[T](Func`1 func)
   at Microsoft.WindowsServerSolutions.PasswordSync.PasswordSyncManagementCore.SyncPassword(Object state)
[7480] 210709.103633.5521: PasswordSyncManagementCore: Neither O365 nor HES are running


replied 07/09/2021 19:22
User

replied 07/09/2021 20:44
Last Activity 07/09/2021 22:02

1 Answer(s)

Add an Answer