A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Since this happens only when selecting SharePoint from m365.cloud.microsoft, use a direct SharePoint sign-in path instead of the launcher first:
- Go to
https://m365.cloud.microsoftand sign in. - Open the App launcher.
- Select SharePoint.
- If SharePoint still loops, sign in directly from the SharePoint site URL instead:
- Paste the SharePoint site URL into the browser address bar.
- Sign in on the Microsoft 365 sign-in page when prompted.
If the issue is caused by browser sign-in data or cookies, the documented fix for SharePoint access problems is to delete cookies in Microsoft Edge. A SharePoint HTTP 400 "Header Field Too Long" error is specifically caused by too many cookies being sent, and deleting cookies resolves it.
If the redirect is caused by a policy, check whether the browser is being redirected to a cas.ms address and shows "Access to Microsoft SharePoint Online is monitored". That behavior means a Microsoft Defender for Cloud Apps session policy is applying to the session. In that case, the policy must be reviewed in Microsoft Defender for Cloud Apps by locating the affected user in the activity log and then disabling the policy or removing the user from the affected group.
To confirm whether this is a redirect-loop issue, test the SharePoint launch URL in Edge:
- Open the URL.
- Press F12.
- Open the Network tab.
- Turn on Preserve log.
- Reload the page.
- Check for repeated
301,302,307, or308responses for the same request.
If there are more than 5 redirects before the page settles or fails, that confirms a redirect loop.