Hello, Welcome to Microsoft Q&A,
Please ensure that you use the recommended version of Visual Studio 2022 along with the necessary workloads and components. For installation checklist, please see - Install the tools - Mixed Reality | Microsoft Learn.
If you have installed Visual Studio 2022 and the necessary workloads and components, but the issue still persists, this authentication issue could result from the following:
- Your PC and HoloLens are not connected to the same WIFI while using remote connection.
- Your PC is not paired with HoloLens via Visual Studio. The first time you deploy an app from Visual Studio to your HoloLens, you'll be prompted for a PIN. (Note: Only if the compilation option is Master or Debug will be prompted for a PIN.)
Don’t hesitate to let me know if you have any further questions about this issue, and if you have any questions about deployment, you can also refer to Using Visual Studio to deploy and debug - Mixed Reality | Microsoft Learn.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.