Hello Pietrorazio,
Thank you for posting in Microsoft Community forum.
Based on the information you have provided, it seems that you are experiencing an issue when trying to connect to a shared printer hosted on a Windows print server in Azure.
To troubleshoot this issue, you can try the following steps:
- Ensure that the printer is turned on and connected to the network.
- Verify that the printer name and IP address are correct.
- Check if the printer driver is installed on the client computer. If not, install the driver and try connecting to the printer again.
- Ensure that the necessary ports are open on the Azure VM hosting the print server.
- Check if the client computer is able to resolve the FQDN of the Azure VM hosting the print server. You can try pinging the FQDN from the client computer to verify this.
If the issue persists, you can try enabling logging for the PrintService on the Azure VM hosting the print server to get more information on the error.
Here are the steps to enable logging for the PrintService on the Azure VM:
- Log in to the Azure VM where the print server is hosted.
- Open the Event Viewer by pressing the Windows key + X, then selecting "Event Viewer" from the menu.
- In the Event Viewer, navigate to "Applications and Services Logs" > "Microsoft" > "Windows" > "PrintService".
- Right-click on "PrintService" and select "Properties".
- In the Properties window, check the box next to "Enable logging".
- Set the maximum log size to a value that is appropriate for your needs. This will determine how much disk space is used by the log files.
- Click "OK" to save the changes.
Once logging is enabled, you can view the logs by navigating to the same location in the Event Viewer and selecting "Operational". You can filter the logs by date, severity, or other criteria to help narrow down the issue.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Haijian Shan