Trying to import session into PowerShell for Office 365 gives you an error (no admin access)

Problem:

You’re trying to connect to Office 365 through powershell and when you setup the session, it gives you an error that you don’t have sufficient rights.

Solution:

Odds are MFA is enabled across board. One way to tell, is that when you try logging into various admin sites, it prompts you with a “setup your authentication” message.

  1. Go to admin
  2. Go to Azure Active Directory
  3. Click on Azure Active Directory on the left
  4. Properties
  5. Manage security defaults
  6. Turn off enable security defaults