board logo
Posted by: Lemonde - 17 May 2019 14:44:43
Windows 2019 datacentre server with SQL 2017 installed is showing the following in the event log: Log Name: Microsoft-Windows-User Device Registration/Admin Source: Microsoft-Windows-User Device Registration Date: 24/04/2019 10:51:04 Event ID: 304 Task Category: None Level: Error Keywords: User: SYSTEM Computer: %computername%.domain.local Description: Automatic registration failed at join phase. Exit code: Unknown HResult Error code: 0x801c001d Server error: Tenant type: undefined Registration type: undefined Debug Output: joinMode: Join drsInstance: undefined registrationType: undefined tenantType: undefined tenantId: undefined configLocation: undefined errorPhase: discover adalCorrelationId: undefined adalLog: undefined adalResponseCode: 0x0 Event Xml: [code=markup]<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-User Device Registration" Guid="{GUID}" /> <EventID>304</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2019-04-24T09:51:04.392106500Z" /> <EventRecordID>41</EventRecordID> <Correlation /> <Execution ProcessID="7008" ThreadID="7600" /> <Channel>Microsoft-Windows-User Device Registration/Admin</Channel> <Computer>%computername%.domain.local</Computer> <Security UserID="S-1-5-18" /> </System> <EventData> <Data Name="ExitCode">-2145648611</Data> <Data Name="ServerErrorMessage"> </Data> <Data Name="TenantType">undefined</Data> <Data Name="JoinType">undefined</Data> <Data Name="DebugOutput">joinMode: Join drsInstance: undefined registrationType: undefined tenantType: undefined tenantId: undefined configLocation: undefined errorPhase: discover adalCorrelationId: undefined adalLog: undefined adalResponseCode: 0x0 </Data> </EventData> </Event>[/code]

Posted by: drdread - 11 September 2020 18:05:06
If you are in a hybrid environment, then these events can be addressed by looking into problems with [url=https://docs.microsoft.com/en-us/azure/active-directory/devices/troubleshoot-hybrid-join-windows-current]Hybrid Environment Domain join Issues[/url] If you are not in a hybrid environment then Microsoft say that these events can be safely ignored.