{"id":433,"date":"2020-07-03T17:26:41","date_gmt":"2020-07-03T17:26:41","guid":{"rendered":"http:\/\/www.torontohelpdesk.ca\/blog\/?p=433"},"modified":"2020-07-03T17:26:41","modified_gmt":"2020-07-03T17:26:41","slug":"trying-to-import-session-into-powershell-for-office-365-gives-you-an-error-no-admin-access","status":"publish","type":"post","link":"https:\/\/www.torontohelpdesk.ca\/blog\/trying-to-import-session-into-powershell-for-office-365-gives-you-an-error-no-admin-access\/","title":{"rendered":"Trying to import session into PowerShell for Office 365 gives you an error (no admin access)"},"content":{"rendered":"\n<p><strong>Problem:<\/strong><\/p>\n\n\n\n<p>You&#8217;re trying to connect to Office 365 through powershell and when you setup the session, it gives you an error that you don&#8217;t have sufficient rights. <\/p>\n\n\n\n<p><strong>Solution:<\/strong><\/p>\n\n\n\n<p>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 &#8220;setup your authentication&#8221; message.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to admin<\/li><li>Go to Azure Active Directory<\/li><li>Click on Azure Active Directory on the left<\/li><li>Properties<\/li><li>Manage security defaults<\/li><li>Turn off enable security defaults<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Problem: You&#8217;re trying to connect to Office 365 through powershell and when you setup the session, it gives you an error that you don&#8217;t have sufficient rights. Solution: Odds are MFA is enabled across board. One way to tell, is <a class=\"more-link\" href=\"https:\/\/www.torontohelpdesk.ca\/blog\/trying-to-import-session-into-powershell-for-office-365-gives-you-an-error-no-admin-access\/\">Continue reading <span class=\"screen-reader-text\">  Trying to import session into PowerShell for Office 365 gives you an error (no admin access)<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[136,137],"class_list":["post-433","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bit-titan","tag-bittitan"],"_links":{"self":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":1,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"predecessor-version":[{"id":434,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/433\/revisions\/434"}],"wp:attachment":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}