Is it possible to return the manager property via the web service action in office 365? The reason I ask is there is a known bug Error message when you connect an InfoPath form to a SharePoint Online web service: "An error occurred while connecting … . In short the loopback issue seen in previous builds of SharePoint, but you cant turn it off as its in the cloud.
I'm presume you would need to pass in the url http://siteurl/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='LastName')?@v='domain\username' to the url section.
However you always seem to get an
denied. You do not have permission to perform this action or access this
even when running the workflow as an admin.