Creating deployment Target for Azure Webapp

Hi Team,

I am facing while creation of Deployment target using below command, i am not able to attach it to specified Tenant. Is there any other way for this ?

New-OctopusAzureWebAppTarget -name “$WebAppName” -azureWebApp "$WebAppName"
-azureResourceGroupName “$ResourceGroup” -octopusAccountIdOrName "$AzAccount"
-octopusRoles “$OctopusRole” `
-updateIfExisting

Hi @vinayak.jadhav,

Thanks for getting in touch!

When this command runs it will automatically assign the new target to the environment and tenant that the deployment is running for.

More details are available here: https://octopus.com/docs/infrastructure/deployment-targets/dynamic-infrastructure#restrictions

Regards,
Paul

1 Like

Thanks Paul, this has worked fine for me. Thanks for help

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.