stgeorgi / wvdquickstart

26 stars 31 forks source link

Issue in Devops Project - The service connection does not exist or has not been authorized for use. - Subscription references service connection WVDServiceConnection which could not be found #23

Open paulobrienlucidity opened 3 years ago

paulobrienlucidity commented 3 years ago

The Azure ARM template looks to have built successfully. Log in to Azure Devops, see the project, open the pipeline, but its in error state:

There was a resource authorization issue: "The pipeline is not valid. Job Process_input_parameters: Step Process_inputer_parameters_task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_wvdAssetsStorage: Step Deploy_StorageAccounts_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz."

There's a button to authorise resource next to it. You press and it says resource authorised. Try to re-run but get this error. Trying to deploy in Australia East location.

What could i be doing wrong?

Encountered error(s) while parsing pipeline YAML: Job Process_input_parameters: Step Process_inputer_parameters_task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_wvdAssetsStorage: Step Deploy_StorageAccounts_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_wvdAssetsStorage: Step PostDeploy_StorageAccounts_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_WVDProfilesStorageAccount01: Step Deploy_StorageAccounts_Task_01 input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_WVDHostPool: Step Deploy_WVDHostPool_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_DesktopAppGroup: Step Deploy_WvdApplicationGroups_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_WVDSessionHosts: Step Deploy_SessionHosts_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_Workspace: Step Deploy_WvdWorkspaces_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_RemoteAppGroup: Step Deploy_WvdApplicationGroups_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Deploy_Application: Step Deploy_WvdApplications_Task input azureSubscription references service connection WVDServiceConnection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.

stgeorgi commented 3 years ago

Have you registered the WVD resource provider?