title: Azure - Add private certificate - error with Key vault key and permissions
body: <p>Basically I'm trying to add a private certificate (.pfx file) to an Integration Account. I'm using the new portal.</p>
  
  <p>What I've done/created:</p>
  
  <ul>
  <li>Resource Group</li>
  <li>Integration Account</li>
  <li>Key Vault</li>
  <li>Active Directory</li>
  <li>Give permissions to my user to all keys and secrets using command Set-AzureRmKeyVaultAccessPolicy</li>
  </ul>
  
  <p>Whenever I go to my Integration Account > Certificates > Add > choose [Certificate Type]="Private", the comboboxes Resource Group and Key Vault get filled automatically but the Key Name throws the following error:</p>
  
  <p>Communication with key vault [MY_KEY_VAULT] failed. Please authorize logic apps to perform operations on key vault by granting access for the logic apps service principal '7cd684f4-8a78-49b0-91ec-6a35d38739ba' for 'list', 'get', 'decrypt' and 'sign' operations.</p>
  
  <p>Weird stuff is that the ObjectID 7cd684f4-8a78-49b0-91ec-6a35d38739ba does not belong to my AD but to my company AD.</p>