var powerShellClientId = "1950a258-227b-4e31-a9cf-717495945fc2"; // use this one
IPublicClientApplication appDp = PublicClientApplicationBuilder
.Create(powerShellClientId)
.WithTenantId(tenantId)
.WithRedirectUri("https://login.microsoftonline.com/common/oauth2/nativeclient")
.WithDesktopFeatures()
.Build();
var scope = new string[] { "https://graph.microsoft.com/.default" };

var authToken = await appDp.AcquireTokenInteractive(scope)
.ExecuteAsync();
www.000webhost.com