<?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>topic setting adminprofile using NBI in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118196#M12619</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a few 100's of devices configured in site engine with the wrong Access profile (wrong cli credentials) and and few 100's with the correct one, instead of checking one by one which one is right and which one wrong I plan to use a script to try a connection and if it fails, change the access profile to the right one.&lt;/P&gt;&lt;P&gt;But I cannot find the right mutation to do it. I can find the access profile with:&lt;/P&gt;&lt;PRE&gt;{network{device(ip: "10.36.95.2") {&lt;BR /&gt;deviceData{profileId}&lt;BR /&gt;}}}&lt;/PRE&gt;&lt;P&gt;Profileid returned is the id of the access profile.&lt;/P&gt;&lt;P&gt;Then I try to change it to the right one using:&lt;/P&gt;&lt;PRE&gt;mutation {&lt;BR /&gt;network {&lt;BR /&gt;configureDevice(input: { deviceConfig: {ipAddress: "10.36.95.2", generalConfig: {adminProfile: "Acceso_Snmp_V3_No_Radius"}}}) {&lt;BR /&gt;clientSessionId&lt;BR /&gt;errorCode&lt;BR /&gt;message&lt;BR /&gt;operationId&lt;BR /&gt;siteLocation&lt;BR /&gt;status&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using a profile id and the profile name, it always returns a success but the value never changes in the UI.&lt;/P&gt;&lt;P&gt;I also tried;&lt;/P&gt;&lt;PRE&gt;mutation {&lt;BR /&gt;network {&lt;BR /&gt;configureDevice(input: {enforceSystem: true, deviceConfig: {ipAddress: "10.36.95.2", generalConfig: {adminProfile: "Acceso_Snmp_V3_No_Radius"}}}) {&lt;BR /&gt;clientSessionId&lt;BR /&gt;errorCode&lt;BR /&gt;message&lt;BR /&gt;operationId&lt;BR /&gt;siteLocation&lt;BR /&gt;status&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;In case I needed an enforce to commit changes. The second one always returns an error.&lt;/P&gt;&lt;P&gt;Is there an NBI way to change the access profile of a device in Site ENgine?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Salva&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 16:59:19 GMT</pubDate>
    <dc:creator>Salva_ferrer</dc:creator>
    <dc:date>2025-03-12T16:59:19Z</dc:date>
    <item>
      <title>setting adminprofile using NBI</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118196#M12619</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a few 100's of devices configured in site engine with the wrong Access profile (wrong cli credentials) and and few 100's with the correct one, instead of checking one by one which one is right and which one wrong I plan to use a script to try a connection and if it fails, change the access profile to the right one.&lt;/P&gt;&lt;P&gt;But I cannot find the right mutation to do it. I can find the access profile with:&lt;/P&gt;&lt;PRE&gt;{network{device(ip: "10.36.95.2") {&lt;BR /&gt;deviceData{profileId}&lt;BR /&gt;}}}&lt;/PRE&gt;&lt;P&gt;Profileid returned is the id of the access profile.&lt;/P&gt;&lt;P&gt;Then I try to change it to the right one using:&lt;/P&gt;&lt;PRE&gt;mutation {&lt;BR /&gt;network {&lt;BR /&gt;configureDevice(input: { deviceConfig: {ipAddress: "10.36.95.2", generalConfig: {adminProfile: "Acceso_Snmp_V3_No_Radius"}}}) {&lt;BR /&gt;clientSessionId&lt;BR /&gt;errorCode&lt;BR /&gt;message&lt;BR /&gt;operationId&lt;BR /&gt;siteLocation&lt;BR /&gt;status&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using a profile id and the profile name, it always returns a success but the value never changes in the UI.&lt;/P&gt;&lt;P&gt;I also tried;&lt;/P&gt;&lt;PRE&gt;mutation {&lt;BR /&gt;network {&lt;BR /&gt;configureDevice(input: {enforceSystem: true, deviceConfig: {ipAddress: "10.36.95.2", generalConfig: {adminProfile: "Acceso_Snmp_V3_No_Radius"}}}) {&lt;BR /&gt;clientSessionId&lt;BR /&gt;errorCode&lt;BR /&gt;message&lt;BR /&gt;operationId&lt;BR /&gt;siteLocation&lt;BR /&gt;status&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;In case I needed an enforce to commit changes. The second one always returns an error.&lt;/P&gt;&lt;P&gt;Is there an NBI way to change the access profile of a device in Site ENgine?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Salva&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 16:59:19 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118196#M12619</guid>
      <dc:creator>Salva_ferrer</dc:creator>
      <dc:date>2025-03-12T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: setting adminprofile using NBI</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118209#M12625</link>
      <description>&lt;P&gt;The mutation above to change the profile works for me; 25.02.10 as tested. I successfully changed a profile to another. What I don't see is XIQ-SE attempt to perform a rediscovery triggered by the change of the Poll Type / Admin Profile which is something it would automatically do if one changed the Poll Type / Admin Profile via the GUI.&lt;/P&gt;&lt;P&gt;Try the reloadDevices mutation&amp;nbsp;@&amp;nbsp;&lt;A href="https://extreme-networks.my.site.com/ExtrArticleDetail?an=000121952" target="_blank"&gt;https://extreme-networks.my.site.com/ExtrArticleDetail?an=000121952&lt;/A&gt;&lt;/P&gt;&lt;P&gt;mutation {&lt;BR /&gt;network {&lt;BR /&gt;reloadDevices(input: {devices: [{ipAddress: "10.36.95.2"}]})&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 12:28:43 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118209#M12625</guid>
      <dc:creator>Robert_Haynes</dc:creator>
      <dc:date>2025-03-13T12:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: setting adminprofile using NBI</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118235#M12639</link>
      <description>&lt;P&gt;Robert, you are right and I'm deeply embarrased. The error in my approach is that the customer broke the naming convention for the destination profile and I blindly wrote what should have been the name instead of the actual name, so I was using the wrong profilename. A double check to the admin profiles names was enough to discover my mistake.&lt;/P&gt;&lt;P&gt;It would be nice to have the API return some kind of errors in those cases. Other than that, I'm the root cause of my own mistake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 21:34:13 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/setting-adminprofile-using-nbi/m-p/118235#M12639</guid>
      <dc:creator>Salva_ferrer</dc:creator>
      <dc:date>2025-03-13T21:34:13Z</dc:date>
    </item>
  </channel>
</rss>

