How to create scoped access key for arcappliance

AZR-GP 20 Reputation points
2025-04-23T17:12:23.7666667+00:00

There is a command 'az arcappliance troubleshoot command vmware'. However, this seems to require a scoped access key:-

C:\ProgramData\kva.ssh\scopedaccesskey does not exist. Please ensure a scoped access key was generated...

How can this be generated?

Thanks

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
504 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ashok Gandhi Kotnana 6,355 Reputation points Microsoft External Staff
    2025-04-23T19:08:41.0533333+00:00

    Hi @AZR-GP

    To generate a scoped access key for the Azure Arc appliance, you need to use the command az arcappliance get-credentials. This command will help you download the scoped access key after it has been generated.

    Make sure you have the necessary permissions and that your Azure environment is properly set up to execute this command. If you encounter issues, ensure that your Azure CLI is updated and that you are logged in to the correct Azure account.

    Refer below MS document: -

    https://learn.microsoft.com/en-us/cli/azure/arcappliance/troubleshoot/command?view=azure-cli-latest#az-arcappliance-troubleshoot-command-vmware

    Just want to check if the above answer worked for you or else please let us know if any help, we are always here to help whenever you need us.

    Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.