简体   繁体   中英

‎Access Denied, Due to organizational policies, you can't access this resource from this untrusted device

I can't view my SharePoint page and SharePoint admin center. I think I was changing some policies at sharepoint admin center, but I can't remember which one I changed. Other admin centers like OneDrive opens without any issue. Even as a admin I can't open SharePoint Admin Center. It says Access Denied, Due to organizational policies, you can't access this resource from this untrusted device. I've cleared my browser's cache and switched different browser but nothing works. 在此处输入图片说明

After contacting Microsoft support and no response from them, I've tried solving this on my own. Here is how I solved it. Install the SharePoint Powershell from here

After installing run these steps on SharePoint Powershell(Admin) to remove access blocks,

  1. Connect-SPOService -Url https://contoso-admin.sharepoint.com
  2. Set-SPOTenant -IPAddressEnforcement 1
  3. Set-SPOTenant -IPAddressAllowList (Your current IP address), after running these command you will be able to access sharepoint without any issue. Now open SharePoint Admin center and Policies--> Access Control--> Unmanaged Devices and select Allow full access and save.

或者,如果您有条件访问策略的安全选项检查,如果有任何检查该策略是否阻止您访问该网站,则转而进入 Azure AD。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM