SOLVED

Error when i add printer

Copper Contributor

Hi all

I'm trying to add a printer on the Universal Cloud Connector program (0.20.7380.21779) on windows server 2019 v1809 build 17763.1158

 

 

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-PrintConnector" Guid="{f22577b2-5121-585a-50b1-a4fde8a4413a}" /> 
  <EventID>2</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>65532</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8000f00000000000</Keywords> 
  <TimeCreated SystemTime="2020-04-16T19:36:06.706278300Z" /> 
  <EventRecordID>144</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="9124" ThreadID="9076" /> 
  <Channel>Microsoft-Windows-PrintConnector/Operational</Channel> 
  <Computer>SRVPRN2</Computer> 
  <Security UserID="S-1-5-18" /> 
  </System>
- <EventData>
  <Data Name="reason">Exception when sending registration request for PRN_TES System.Exception: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { x-content-type-options: nosniff X-MSEdge-Ref: Ref A: 7B59B2072AE5477D814D94B486781DAA Ref B: VIEEDGE1117 Ref C: 2020-04-16T19:36:18Z Cache-Control: no-store, must-revalidate, no-cache, max-age=0 Date: Thu, 16 Apr 2020 19:36:17 GMT Set-Cookie: UserRegion=europe; path=/; samesite=lax; httponly Content-Length: 0 } at ProxyLibrary.RegisterHelper.<SendRegistrationRequest>d__9.MoveNext()</Data> 
  </EventData>
  </Event>
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-PrintConnector" Guid="{f22577b2-5121-585a-50b1-a4fde8a4413a}" /> 
  <EventID>8</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>65526</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8000f00000000000</Keywords> 
  <TimeCreated SystemTime="2020-04-16T19:36:06.706450300Z" /> 
  <EventRecordID>145</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="9124" ThreadID="9076" /> 
  <Channel>Microsoft-Windows-PrintConnector/Operational</Channel> 
  <Computer>SRVPRN2</Computer> 
  <Security UserID="S-1-5-18" /> 
  </System>
- <EventData>
  <Data Name="reason">Register printer start: PRN_TES Sending Registration Request... System.Exception: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { x-content-type-options: nosniff X-MSEdge-Ref: Ref A: 7B59B2072AE5477D814D94B486781DAA Ref B: VIEEDGE1117 Ref C: 2020-04-16T19:36:18Z Cache-Control: no-store, must-revalidate, no-cache, max-age=0 Date: Thu, 16 Apr 2020 19:36:17 GMT Set-Cookie: UserRegion=europe; path=/; samesite=lax; httponly Content-Length: 0 } at ProxyLibrary.RegisterHelper.<SendRegistrationRequest>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ProxyLibrary.Register.<RegisterPrinter>d__27.MoveNext()</Data> 
  </EventData>
  </Event>

 

1 Reply
best response confirmed by Saurabh_Bansal (Microsoft)
Solution

@vi_das, when using the Universal Print Connector program, the user account used to log-in during the launch of the app needs to be a Printer Admin role or Global Admin role in AAD.  Additionally, please ensure the user account has been assigned a Universal Print license.

 

HTH,

Jimmy

1 best response

Accepted Solutions
best response confirmed by Saurabh_Bansal (Microsoft)
Solution

@vi_das, when using the Universal Print Connector program, the user account used to log-in during the launch of the app needs to be a Printer Admin role or Global Admin role in AAD.  Additionally, please ensure the user account has been assigned a Universal Print license.

 

HTH,

Jimmy

View solution in original post