Hello @Keith Guo , the error is caused by your account not being assigned Azure AD built-in roles such as Global Administrator, Application Administrator or Cloud Application Administrator or not being assigned Azure RBAC roles, such as User Access Administrator or Owner to the scoped subscription.
Please take a look to Assign a role to a user and Assign Azure roles using the Azure portal to assign the required roles.
Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it so that others in the community with similar questions can more easily find a solution.