Showing results for 
Search instead for 
Did you mean: 
Automation Master
Automation Master

Update User Profile in Office 365 Issue

I am trying to create a workflow to allow managers to update certain SharePoint profile properties. I am using the web request action to try to update the properties. I am using an Office 365 Global Admin as for the username and PW. I also have done the following...turned on the feature for workflow to use permissions, I have tried to go into the admin center to give the workflow app full control and have tried at the site collection level too.

I keep getting the following Permissions Issue:
Response Content: soap:ServerServer was unable to process request. ---> Attempted to perform an unauthorized operation.

Http Status Code: 500

Web Request Action Set up

URL: SiteURL/_vti_bin/userprofileservice.asmx 

Method: SOAP 1.1

Body: Content

<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">   <soap:Body>     <ModifyUserPropertyByAccountName xmlns="">       <accountName>i:0#.f|membership|</accountName>       <newData>         <PropertyData>           <IsPrivacyChanged>false</IsPrivacyChanged>           <IsValueChanged>true</IsValueChanged>           <Name>sdgCommittee</Name>           <Privacy>NotSet</Privacy>           <Values>             <ValueData><Value xsi:type="xsd:string">Test123</Value></ValueData>           </Values>         </PropertyData>       </newData>     </ModifyUserPropertyByAccountName>   </soap:Body> </soap:Envelope>

Labels: (1)