Disable Email Self-Sign Up, but Allow Self-Sign Up on External IdPs

Carl Schroedl 0 Reputation points
2025-12-01T17:41:25.8633333+00:00

I only want users to be able to create accounts via an external identity provider in my Microsoft Entra External ID Tenant. I want to disallow the creation of accounts via the default email method. So far, I cannot do this.

I cannot delete email sign up via the Azure Portal - I can only switch between password and OTP.

User's image

I also cannot delete email sign up via the Graph API. I tried the following in the Graph API Explorer.

GET https://graph.microsoft.com/v1.0/identity/authenticationEventsFlows/REDACTED-ID/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/

...
    "value": [
        {
            "@odata.type": "#microsoft.graph.builtInIdentityProvider",
            "id": "EmailPassword-OAUTH",
            "displayName": "Email with password",
            "identityProviderType": "EmailPassword"
        }
    ]
...

I extracted the id property from this response value and tried to use it in a DELETE call.

DELETE /identity/authenticationEventsFlows/REDACTED-ID/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/EmailPassword-OAUTH/$ref

{
    "error": {
        "code": "BadRequest",
        "message": "Resource not found for the segment 'EmailPassword-OAUTH'.",
        "innerError": {
            "date": "2025-12-01T16:37:15",
            "request-id": "4c5e5295-94a9-40b1-892b-83bab936f3ca",
            "client-request-id": "042a326c-1197-6f83-2c83-e90097f9df7a"
        }
    }
}

Did I make a mistake in the Graph API call?

Is there a different way I can remove email self-service account creation while preserving self-service account creation in the external identity provider?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

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.