Hi @ducna,
Current spacedesk Windows Viewer from Microsoft Store does not handle auto-rotation yet.
This is currently the default behavior of Windows rotation on a Windows tablet device.
Could you please, check on the display settings of your surface device if the rotation lock is enabled or disabled?