Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I ran into the same issue and had to create a new shell profile with custom attributes:
Type - Mandatory, Name - vsys, value - root
Type - Mandatory, Name - privilege, value - root