Invitations are blocked for this directory due to suspicious activity. Please contact Microsoft support for help.

API Dev 0 Reputation points
2025-06-17T09:47:29.51+00:00

When we are doing the migration from keycloak to Microsoft Entra Id. We have a requirement to migrate all the users from keycloak to Microsoft Entra Id. In the migration we are inviting 200 users to Entra Id and sending invitation using Microsoft Graph API. Because of large number of invitations it returned the below error message.

Invitations are blocked for this directory due to suspicious activity. Please contact Microsoft support for help.

How to unblock the invitations in our Tenant.

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
978 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Akpesiri Ogbebor 2,525 Reputation points
    2025-06-17T10:03:07.8966667+00:00

    Hello @API DEV

    Thanks for contacting MS Q&A. I will be able to help you with resolving your issues.

    The error you're seeing "Invitations are blocked for this directory due to suspicious activity. Don't hesitate to get in touch with Microsoft support for help." indicates that Microsoft has temporarily blocked your tenant from sending guest invitations due to what it perceives as unusual or potentially abusive activity (e.g., mass invites in a short period).

    Once unblocked, you should:

    • Throttle your invitation rate: Instead of sending 200+ invites in one go, batch them (e.g., 20-50 per hour).

    Follow the steps below to create a support request.

    • Go to the Azure Portal
    • Navigate to Help + Support > New support request
    • Category: Technical
    • Service: Microsoft Entra ID
    • Problem type: B2B Collaboration / External Identities
    • Details: Explain that your tenant has been blocked from sending invitations after initiating a migration and include the error message.

    Include in the ticket:

    • The exact error message
    • The number of invitations sent
    • The purpose of the bulk invitation (e.g., migration from Keycloak to Entra ID)
    • Your organization name and tenant ID

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Siri

    0 comments No comments

  2. Navya 20,180 Reputation points Microsoft External Staff Moderator
    2025-06-18T16:34:36.61+00:00

    Hi API Dev

    This issue occurred because the tenant was less than or equal to 30 days old and had performed more than 500 email invitations.

    As you performed a bulk invitation of more than 400 users from an external tenant to your tenant, you encountered this limitation.

    To resolve this issue, we engaged with the support team. They will unblock user invitations for this directory. After that you should now be able to invite users in bulk without any issues.

    Once the issue has been resolved by our support team, please feel free to revisit and kindly click "Accept Answer," as this will be helpful to other community members facing similar issues.


Your answer

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