Request to Sharepoint sign-in endpoint ?wa=wsignin1.0 returns 403

Paul Graham1 150 Reputation points
2025-08-19T00:36:17.4466667+00:00

SAML authentication flow for our ERP integration with SharePoint stopped working for multiple customers.

In the final step of the authentication, the POST request is sent with the BinarySecurityToken in the body to the address below. Instead of returning the FedAuth authentication cookie, it responds with the HTTP code 403 - Forbidden.

https://[YourDomain].sharepoint.com/_forms/default.aspx?wa=wsignin1.0

To clarify: This is not a new development or new installation. This is something that has been working for a long time and for many customers, and recently, it stopped.

Microsoft 365 and Office | SharePoint | Development
0 comments No comments

8 answers

Sort by: Newest
  1. rob.h 10 Reputation points
    2025-09-12T15:52:39.3766667+00:00

    LegacyAuthProtocolsEnabled is not sufficient. You need the setting AllowLegacyBrowserAuthProtocolsEnabledSetting. Please note that the spelling in the documentation is incorrect (the prefix “Allow” and the suffix “Setting” are missing in the documentation).

    This worked for us:

    Set-SPOTenant -AllowLegacyBrowserAuthProtocolsEnabledSetting $true
    

    This may not work after October 15th 2025, see https://cdm.iamcloud.info/docs/Content/RevertChange.htm

    Related link: https://mc.merill.net/message/MC1097272

    Was this answer helpful?

    2 people found this answer helpful.

  2. Adi Roiban 25 Reputation points
    2025-08-22T09:59:15.03+00:00

    We are not talking about Basic Authentication

    This is SAML Claims-Based authentication with the Federation Authentication (FedAuth) cookie

    With the user based authentication model, we get fine grained permissions for SharePoint Files

    With OAuth2 Application ID, you only have generic site-level permisisons.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments

  3. Jake Novak 30 Reputation points
    2025-08-21T12:00:29.76+00:00

    Given the length of time this was unavailable, we were forced to update our code to use a different authentication method.

    To their credit, Microsoft Support did finally respond to our case number and reversed the change on our tenant (with warnings that it would become unavailable again around October). The former code we had been using for over a decade began working again at that time.

    Was this answer helpful?

    2 people found this answer helpful.

  4. Wiese 25 Reputation points
    2025-08-21T08:27:42.45+00:00

    we migrated to token-based authentication using Azure AD.

    Here’s how it works now:

    Token-based authentication

    Instead of sending the FedAuth cookie, we send an access token in the Authorization header of every HTTP request to SharePoint.

    App-based access

    The access token is obtained from an Azure AD app registration. This means that access is granted to the application itself (app-based authentication), rather than to a specific user.

    JWT signing requirement

    To request an access token, the client must present a signed JWT. The JWT is signed using the private key of a certificate. The public certificate must be uploaded to the Azure AD app registration so that Azure AD can validate the signature.

    This setup removes dependency on user context and enables secure, app-only access to SharePoint resources.

    Was this answer helpful?


  5. Anonymous
    2025-08-20T01:03:35.6733333+00:00

    Hi @Paul Graham1
    Based on the update notification in Message Center, Microsoft 365 will update default settings to enhance security by blocking legacy authentication protocols and requiring admin consent for third-party app access. Changes start mid-July 2025 and complete by August 2025. Organizations should assess configurations, notify stakeholders, update documentation, and configure the Admin Consent workflow. 
    Legacy authentication protocols like RPS (Relying Party Suite) are vulnerable to brute-force and phishing attacks due to non-modern authentication. Blocking this prevents applications that are using outdated methods from accessing SharePoint and OneDrive via browser.  
    For more details, visit the Microsoft 365 Admin Center: https://admin.microsoft.com/?ref=MessageCenter/:/messages/MC1097272 

    I hope this information is helpful. 

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.