Comments on: VSTS Extension – Tagging all resources within a Resource Group https://peterrombouts.nl/2018/07/17/vsts-extension-tagging-all-resources-within-a-resource-group/ All things Cloud | Software | Coding | Integration | Automation | DevSecAnythingOps | Cloud Native | Serverless Fri, 17 May 2019 09:44:07 +0000 hourly 1 http://wordpress.com/ By: Peter https://peterrombouts.nl/2018/07/17/vsts-extension-tagging-all-resources-within-a-resource-group/comment-page-1/#comment-26 Fri, 17 May 2019 09:44:07 +0000 http://peterrombouts.wordpress.com/?p=61#comment-26 In reply to Joe.

Thanks for your reply Joe! The warnings are default for some of the commands I use, so you can ignore them. The error however is something on my wish list. My extension just tags everything in the resource group, even if it cannot tag that resource.
Improvement would be that I check whether I can tag or not, but did not have the time to add that logic…

Like

]]>
By: Joe https://peterrombouts.nl/2018/07/17/vsts-extension-tagging-all-resources-within-a-resource-group/comment-page-1/#comment-25 Fri, 17 May 2019 09:07:10 +0000 http://peterrombouts.wordpress.com/?p=61#comment-25 Thanks Peter, this is exactly what I needed for my pipelines.

For me however its not tagging the resource group or my MySQL Db Server and I get 2 warnings about the import module and verb.
“The names of some imported commands from the module ‘AzureRM.Websites’ include unapproved verbs”
The dbsrv error:
Set-TagsOnResource: Error when updating resource /subscriptions/xxxxxx/resourceGroups/RG_xxxxx/providers/Microsoft.DBforMySQL/servers/mysqldatabase-host
Exception setting “Tags”: “The property ‘Tags’ cannot be found on this object. Verify that the property exists and can be set.”.Exception

Still the end result is most of my resources have consistent tags which is really useful. thanks again.
Joe

Like

]]>