public async Task ListAllUsers()
        {
            var client = new B2CGraphClient("aeefcc33-b5b3-4997-90e9-817e0d91d068", Secret, "b6bdfb2f-60a9-48b4-9fa5-5c15a97e4ffb");

            var users = await client.GetAllUsers();
            Console.WriteLine(JObject.Parse(users).ToString(Formatting.Indented));
            
        }
        public async Task CreateUserTest()
        {
            var client = new B2CGraphClient("aeefcc33-b5b3-4997-90e9-817e0d91d068", Secret, "b6bdfb2f-60a9-48b4-9fa5-5c15a97e4ffb");
            
            var userTemplate = JObject.Parse(new StreamReader(typeof(B2CGraphClient).Assembly.GetManifestResourceStream("IdentityServer.AzureAdUserService.CreateUserTemplate.json")).ReadToEnd());
            (userTemplate.SelectToken("alternativeSignInNamesInfo[0].type").Parent as JProperty).Value = "userName"; // "emailAddress";
            (userTemplate.SelectToken("alternativeSignInNamesInfo[0].value").Parent as JProperty).Value = "myUserName";
            (userTemplate.SelectToken("passwordProfile.password").Parent as JProperty).Value = "P@ssword!";


            Console.WriteLine(JObject.Parse(await client.CreateUser(userTemplate.ToString())).ToString(Formatting.Indented));

        }