title: Can't change SPN addresses for SuccessFactors gallery app in Azure
body: <p>Prehistory is the following:</p>
  
  <p>We use cloud SAP SuccessFactors app. We publish it for our users via Azure enterprise apps with SAML SSO configured with SAP support. And till last week everything worked good.</p>
  
  <p>But this week we faced with the problem. SSO stopped working and started to redirect to old test link. We used SAML debugger add-in in chrome and we see this wrong redirection.</p>
  
  <p>I struggled with Azure PowerShell and finally found that old link among others in SPN addresses list.</p>
  
  <p>I used this command</p>
  
  <pre><code>(Get-MsolServicePrincipal -ObjectId "_our app objectid_").Addresses
  </code></pre>
  
  <p>BUT</p>
  
  <p>I can not correct this list. If I try to create an array of such objects and then </p>
  
  <pre><code>Set-MsolServicePrincipal - Addresses $array
  </code></pre>
  
  <p>I get an <code>invalid syntax error</code>.</p>
  
  <p>Maybe some PowerShell guru is watching and can guide or paste some idea I would be so much appreciated.</p>
  
  <p>MS support in India says NO. Impossible to change Addresses for gallery apps.
  SAP support say just delete this app and create from scratch.</p>