In SharePoint Online, Nintex workflow can be used to update a user profile property. Before using Nintex Workflow to update user it needs to be given the right permissions
Allow workflow to use app permissions a. Navigate to site settings
b. Under Site Actions, click Manage site features
c. Locate the Workflows can app permissions and click Activate if it is not activated yet.
2. Allow workflow to use app permissions