New-OctopusAzureWebAppTarget Missing Tenant Option

the New-OctopusAzureWebAppTarget powershell cmdlet is missing the tenant option, or atleast the documentation does not show if the tenant tag can be assigned using this.
when dynamically creating a azure webapp / cloud service/ service fabric, it should be able to assign a tenant tag also.

Hi Sohail,

Thanks for getting in touch.

The target cmdlet’s will automatically scope the target to the environment and tenant that the deployment was run against. Also, tenant tags cannot be specified as part of the new target. This is all due to security restrictions to avoid accidentally or maliciously scoping a target incorrectly.


Thanks Ben