Microsoft contact and how can delete 100,000 users?

Nhan Nguyen 0 Reputation points
2023-05-18T03:46:23.6966667+00:00

1/ I wonder what is email address of Microsoft support service? I made a question ticket and get the reply from ******@mail.support.microsoft.com, but It is reject my email when I reply it.

2/ The hacker hacked my account and created 100,000 users (One hundred thousand users). How can I delete all of them?

I used the bulk delete option in Azure, but it is stop after delete around 1000 accounts.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,704 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,826 Reputation points Volunteer Moderator
    2023-05-18T04:31:01.7+00:00

    Hello Nhan,

    Below are some answers to your exact questions:

    ***1/ I wonder what is email address of Microsoft support service? I made a question ticket and get the reply from ***@mail.support.microsoft.com, but It is reject my email when I reply it.

    Check your Exchange message trace to see why it was rejected or check the headers. That is the official e-mail address from Microsoft Support.

    2/ The hacker hacked my account and created 100,000 users (One hundred thousand users). How can I delete all of them?

    Perhaps look into making a PowerShell script that deletes the user accounts:

    Delete a user

    https://learn.microsoft.com/en-us/graph/api/user-delete?view=graph-rest-1.0&tabs=http

    You can perhaps put a CSV together and use a ForEach-Object loop to delete each $userId that you don't want.

    Import-Module Microsoft.Graph.Users
    
    Remove-MgUser -UserId $userId
    

    If this is helpful please accept answer.


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.