title: Try to access user properties using User Profile REST API
body: <p>I am creating a SP designer workflow for my SharePoint Online site to get user properties like manager`s name, location, department etc. I am using below REST URL in 'Call HTTP Web Service' action</p>
  
  <pre><code>https:/siteurl/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='Manager')?@v=%27i:0%23.f|membership|userid%27 .
  </code></pre>
  
  <p>I am a site collection admin but still I am getting error -</p>
  
  <pre><code>"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}"
  </code></pre>
  
  <p>I have already given  Full Control to workflow app. But when I access above REST URL in a browser, I can see all properties for any user.</p>
  
  <p>Please let me know where am I doing a mistake.</p>