<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Populating Azure Tag value in CMDB in ITOM forum</title>
    <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944171#M43860</link>
    <description>&lt;P&gt;Thanks Mohit,&lt;/P&gt;
&lt;P&gt;How can I customize pattern ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 09:30:12 GMT</pubDate>
    <dc:creator>Alias</dc:creator>
    <dc:date>2022-07-20T09:30:12Z</dc:date>
    <item>
      <title>Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944169#M43858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In my Azure account I have some VM's and each of VM's have asset tags , for eg. Company Location tag which is used to store location of my company . Using Discovery I have achieved cloud based integration of Azure - CMDB .&lt;/P&gt;
&lt;P&gt;But for every Virtual machine instance asset tags are available in Azure, whereas in ServiceNow Asset tag with respect to VM is not available or not fetched from Azure. Please help to get this Asset Tag in sync with Azure.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/99481iAFC3EB729BA63CB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 07:18:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944169#M43858</guid>
      <dc:creator>Alias</dc:creator>
      <dc:date>2022-07-20T07:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944170#M43859</link>
      <description>&lt;P&gt;Hi Alias,&lt;/P&gt;
&lt;P&gt;The OOB discovery does not fetch that information from Azure for VMs so you will have to customize the pattern to get the info and set it to the VM instance table. Below are the things which are discovered OOB for azure discovery.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/discovery/reference/data-collected-azure-discovery.html" target="_blank" rel="noopener"&gt;Data collected for Microsoft Azure Cloud Discovery&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/99482i153F4E7DD14319A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this as correct and helpful if it resolved the query or lead you in right direction.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mohit Kaushik&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Community Rising Star 2022&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 09:21:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944170#M43859</guid>
      <dc:creator>Mohit Kaushik</dc:creator>
      <dc:date>2022-07-20T09:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944171#M43860</link>
      <description>&lt;P&gt;Thanks Mohit,&lt;/P&gt;
&lt;P&gt;How can I customize pattern ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 09:30:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944171#M43860</guid>
      <dc:creator>Alias</dc:creator>
      <dc:date>2022-07-20T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944172#M43861</link>
      <description>&lt;P&gt;1.You can do that by going to Discovery Patterns from Pattern Designer in left navigation.&lt;/P&gt;
&lt;P&gt;2.Select the pattern 'Azure - Virtual Machine (LP)' from list of patterns and open the record.&lt;/P&gt;
&lt;P&gt;3. Add Extension step to the pattern.&lt;/P&gt;
&lt;P&gt;4. Inside the extension steps you can write your steps to get the azure tag and set it to your vm instance table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this as correct and helpful if it resolved the query or lead you in right direction.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mohit Kaushik&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Community Rising Star 2022&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 11:43:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944172#M43861</guid>
      <dc:creator>Mohit Kaushik</dc:creator>
      <dc:date>2022-07-20T11:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944173#M43862</link>
      <description>&lt;P&gt;Hi Mohit,&lt;/P&gt;
&lt;P&gt;I'm very new to CMDB integration, could you please elaborate on Creating Steps to get the azure tag.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/99484i67D1A2C037E0645D/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you please refer some documents or videos for the same .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Alias&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:35:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944173#M43862</guid>
      <dc:creator>Alias</dc:creator>
      <dc:date>2022-07-20T12:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944174#M43863</link>
      <description>&lt;P&gt;All tags for the virtual machine should be already coming in via discovery pattern (or via CAPI if you are using CAPI discovery). we pick up the cloud tags by default. the pattern extension is already present.&lt;/P&gt;
&lt;P&gt;Note that these discovered cloud tags are stored in cmdb_key_value table. These will appear in the related list for the virtual machine record, please add the key-value from related list configuration.&lt;/P&gt;
&lt;P&gt;The discovery will not update your asset tag field directly. To update your asset tag field, you would need an additional step - maybe you can have a Business Rule to update the CI's asset tag field, or you could also modify the pattern.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 02:55:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944174#M43863</guid>
      <dc:creator>Ram Devanathan1</dc:creator>
      <dc:date>2022-07-21T02:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944175#M43864</link>
      <description>&lt;P&gt;Hi Ram,&lt;/P&gt;
&lt;P&gt;Thank you .Having some confusions on Modify Pattern ..Could you please elaborate or share some document for the same&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 05:18:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944175#M43864</guid>
      <dc:creator>Alias</dc:creator>
      <dc:date>2022-07-21T05:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944176#M43865</link>
      <description>&lt;P&gt;pl start a new thread with what you tried and what issues you faced with adequate info/screenshots so the folks here can help.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 12:00:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944176#M43865</guid>
      <dc:creator>Ram Devanathan1</dc:creator>
      <dc:date>2022-07-23T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944177#M43866</link>
      <description>&lt;P&gt;Hi Ram&lt;/P&gt;
&lt;P&gt;Need your help here.&lt;/P&gt;
&lt;P&gt;As per this KB -&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0953853&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I do not see TAGS are coming for Virtual Machine Instance Class of AZURE.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;RP&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 06:03:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944177#M43866</guid>
      <dc:creator>Rahul Priyadars</dc:creator>
      <dc:date>2022-07-24T06:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944178#M43867</link>
      <description>&lt;P&gt;Hi! Are you using any tool to populate the tags? I'd propose taking a look at zigiops. I can make the connection between the two systems bi-directionally. It can be tweaked to execute your use cases. Check it out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 16:51:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944178#M43867</guid>
      <dc:creator>Eric Smith</dc:creator>
      <dc:date>2022-07-24T16:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944179#M43868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You already have the pattern steps available in your pattern extension steps to fetch the Azure tags. Now this value is going to cmdb_key_value table and it is getting populated automatically via above extension step.&lt;/P&gt;
&lt;P&gt;All what you need to do is, go to your cmdb_ci_vm_instance record and in the header do right click -&amp;gt; Configure -&amp;gt; Related Lists-&amp;gt; (Key Value-&amp;gt;Configuration Item).&lt;/P&gt;
&lt;P&gt;And then you will be able to see the list of records in that related list associated to your CI. You need to write a Business Rule on cmdb_key_value table.&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;try {
		var grCI = new GlideRecord(current.configuration_item.sys_class_name+''); // This will work for all the CI types, if you want it to work only for VM instance table then you can put 'cmdb_ci_vm_instance' instead of current.configuration_item.sys_class_name+''.
		grCI.get(current.configuration_item.sys_id+'');
		grCI.asset_tag = (grCI.asset_tag) ? grCI.asset_tag +', '+current.key +':'+current.value : current.key +':'+current.value; //considering asset_tag is your Asset Tag field.
		grCI.update();

	}catch (e){

	}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will update your azure tags into the Asset Tag field and you will be able to see the comma separated azure tags.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this as correct and helpful if it resolved the query or lead you in right direction.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mohit Kaushik&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Community Rising Star 2022&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 11:52:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944179#M43868</guid>
      <dc:creator>Mohit Kaushik</dc:creator>
      <dc:date>2022-07-25T11:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944180#M43869</link>
      <description>&lt;P&gt;Hi Rahul,&lt;/P&gt;
&lt;P&gt;I don't know why you are not getting tags for Azure VM. it is standard functionality, so i can give some general guidance unless you have some additional information/errors to show.&lt;/P&gt;
&lt;P&gt;Are you on CAPI or Patterns discovery - if you are on CAPI, please move to Patterns for cloud resources Discovery. CAPI based discovery is not getting extended, only Patterns going forward.&lt;/P&gt;
&lt;P&gt;After that please update to latest patterns app from the store and check if you still don't get tags. the tags pattern extension should be available in Azure VM (LP) pattern - check if you get any errors during discovery.&lt;/P&gt;
&lt;P&gt;BTW - this is regardless of whether you have CPG or Discovery license - same thing applies in both cases.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 12:57:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944180#M43869</guid>
      <dc:creator>Ram Devanathan1</dc:creator>
      <dc:date>2022-07-25T12:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944181#M43870</link>
      <description>&lt;P&gt;Hi &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="5197c9e81b3b3c50aefc11751a4bcb36"&gt;@Alias&lt;/SN-MENTION&gt; , did you get a chance to see the solution I have provided here. If you facing any issues , please let me know. Happy to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohit Kaushik&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 13:31:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/944181#M43870</guid>
      <dc:creator>Mohit Kaushik</dc:creator>
      <dc:date>2022-07-29T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2373295#M105607</link>
      <description>&lt;P&gt;Hi Mohit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to servicenow discovery but i have good exposure in BMC discovery.&lt;/P&gt;&lt;P&gt;Here is SN discovery, my client wants to see the Azure Tags in to CMDB.&lt;/P&gt;&lt;P&gt;we want Tags value to be visible on cmdb_ci_resource_group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While scanning the Azure VM, in the ECC queue, cant see pattern "Azure VM (LP)" is executing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me step by step how to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GirijaSankarG_0-1667590439557.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/214567i8EA3BF8989B668AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GirijaSankarG_0-1667590439557.png" alt="GirijaSankarG_0-1667590439557.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GirijaSankarG_1-1667590524045.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/214568i62E751BA59F53B7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GirijaSankarG_1-1667590524045.png" alt="GirijaSankarG_1-1667590524045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 19:35:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2373295#M105607</guid>
      <dc:creator>Girija Sankar G</dc:creator>
      <dc:date>2022-11-04T19:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2383395#M105784</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/32307"&gt;@Girija Sankar G&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The reason you are not able to see that pattern in ECC queue could be the discovery running on CAPI and not patterns. So, first thing you should migrate the discovery to pattern based which can be done with the help of below KB article. Once done you should be able to see this pattern getting executed and based on my previous responses on this post, you can have a business rule to populate the tags from cmdb key value table to your CI.&lt;BR /&gt;&lt;BR /&gt;KB article:&amp;nbsp;&lt;A href="http://CAPI%20to Pattern migration" target="_blank" rel="noopener"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0827153&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 13:18:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2383395#M105784</guid>
      <dc:creator>Mohit Kaushik</dc:creator>
      <dc:date>2022-11-15T13:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2439207#M106872</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/188160"&gt;@Mohit Kaushik&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/214012"&gt;@Ram Devanathan1&lt;/a&gt;&amp;nbsp;for your help.&lt;/P&gt;&lt;P&gt;After migrated CAPI to pattern based discovery, now able to see the tags value under key value table.&lt;/P&gt;&lt;P&gt;Now couple of things would like to know:&lt;/P&gt;&lt;P&gt;1) Are&amp;nbsp;these tags(key value) will be visible in all table including cmdb_ci ? or is there any specific table where these tags info will only be visible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) To update the Asset Tag, can you please help me to write business rule&lt;/P&gt;&lt;P&gt;3) If we update the Asset Tag, will it show on all table for e.g. cmdb_ci or cmdb_ci_resource_group etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 20:22:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2439207#M106872</guid>
      <dc:creator>Girija Sankar G</dc:creator>
      <dc:date>2023-01-10T20:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2439385#M106879</link>
      <description>&lt;P&gt;tag (key-value) records appear in related list - if not appearing out of the box, you can customize the layout to show key-value -&amp;gt; configuration item related list. the underlying table is cmdb_key_value&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 02:20:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2439385#M106879</guid>
      <dc:creator>Ram Devanathan1</dc:creator>
      <dc:date>2023-01-11T02:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2439643#M106886</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/32307"&gt;@Girija Sankar G&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This BR will help you update the asset tag on all the CI tables. I have already shared the BR which you will have to write on&amp;nbsp;cmdb_key_value table in my previous replies on this question thread. Shared it again below:&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;try {
		var grCI = new GlideRecord(current.configuration_item.sys_class_name+''); // This will work for all the CI types, if you want it to work only for VM instance table then you can put 'cmdb_ci_vm_instance' instead of current.configuration_item.sys_class_name+''.
		grCI.get(current.configuration_item.sys_id+'');
		grCI.asset_tag = (grCI.asset_tag) ? grCI.asset_tag +', '+current.key +':'+current.value : current.key +':'+current.value; //considering asset_tag is your Asset Tag field.
		grCI.update();

	}catch (e){

	}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will update your azure tags into the Asset Tag field and you will be able to see the comma separated azure tags.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Also go to your CMDB tables where you want to show the Key value pairs, open any record and in the header do right click -&amp;gt; Configure -&amp;gt; Related Lists-&amp;gt; (Key Value-&amp;gt;Configuration Item). This will give you the related list of Key value pairs. And then you will be able to see the list of records in that related list associated to your CI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 07:28:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2439643#M106886</guid>
      <dc:creator>Mohit Kaushik</dc:creator>
      <dc:date>2023-01-11T07:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2463868#M107196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/188160"&gt;@Mohit Kaushik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created the same BR as suggested for Asset Tag update on cmdb_ci (PFA the screenshot attached)&lt;/P&gt;&lt;P&gt;Ran the discovery.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can see Tags values showing on cmdb_key_value table and updated it into Related list of Virtual Machine Instance class. It shows correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still i cant see the tag value on&amp;nbsp;cmdb_ci table.&lt;/P&gt;&lt;P&gt;Is there anything i am missing here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GirijaSankarG_0-1675175311085.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/236795i778B339A9F3CA8B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GirijaSankarG_0-1675175311085.png" alt="GirijaSankarG_0-1675175311085.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GirijaSankarG_1-1675175337683.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/236796i193F64025D338B9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GirijaSankarG_1-1675175337683.png" alt="GirijaSankarG_1-1675175337683.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GirijaSankarG_2-1675175459446.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/236797i6C6FFCD7486956F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GirijaSankarG_2-1675175459446.png" alt="GirijaSankarG_2-1675175459446.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GirijaSankarG_3-1675175548672.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/236798iA2425A0FAB149793/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GirijaSankarG_3-1675175548672.png" alt="GirijaSankarG_3-1675175548672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 14:32:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2463868#M107196</guid>
      <dc:creator>Girija Sankar G</dc:creator>
      <dc:date>2023-01-31T14:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Azure Tag value in CMDB</title>
      <link>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2858302#M114316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/214012"&gt;@Ram Devanathan1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Iam new to tag based service mapping , why use tagbased service mapping&amp;nbsp; for cloud and what is its purpose.please can share your insights here that might me for better understanding.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 17:46:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itom-forum/populating-azure-tag-value-in-cmdb/m-p/2858302#M114316</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-03-11T17:46:20Z</dc:date>
    </item>
  </channel>
</rss>

