Assign a task action for Nintex Workflow for O365 throws error on save

Problem:

Variable - dispose : TypeError: Object expected error is thrown when "Assign a task" action is saved in Nintex Workflow for O365.

Solution:

As a tenant administrator click the gear in the top right of of the Nintex Workflow Designer Window.

Follow the instructions for enabling workflows to access User Profiles.

Close out of Nintex Workflow and reopen it. The "Assign a task" action should now save correctly in workflows.