Hi @Sachin Kumar
You can reset a user's password by updating their password profile. Before doing this, the calling app must be assigned the User.ReadWrite.All
application permission and at least the User Administrator Azure AD role.

Refer to the sample graph C# SDK code:
using Microsoft.Graph;
using Azure.Identity;
using Microsoft.Graph.Models;
var scopes = new[] { "https://graph.microsoft.com/.default" };
var tenantId = "{tenant id}";
// Values from app registration
var clientId = "{client id}";
var clientSecret = "{client secret}";
// using Azure.Identity;
var options = new TokenCredentialOptions
{
AuthorityHost = AzureAuthorityHosts.AzurePublicCloud
};
// https://learn.microsoft.com/dotnet/api/azure.identity.clientsecretcredential
var clientSecretCredential = new ClientSecretCredential(
tenantId, clientId, clientSecret, options);
var graphClient = new GraphServiceClient(clientSecretCredential, scopes);
var requestBody = new User
{
PasswordProfile = new PasswordProfile
{
ForceChangePasswordNextSignIn = false,
Password = "xxxxxxxxxxxxx",
},
};
await graphClient.Users["{user id}"].PatchAsync(requestBody);
Note that this code is only applicable to versions above Microsoft Graph SDK 5.0.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.