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