Already given these permissions.
User.ReadWrite.All, Directory.ReadWrite.All , Directory.AccessAsUser.All
My User is as per this.
var newUserWithMultippleIdentity = new User
{
DisplayName = "Riki Joe",
Identities = new List<ObjectIdentity>()
{
new ObjectIdentity
{
SignInType = "userName",
Issuer = "btrikas.onmicrosoft.com",
IssuerAssignedId = "johnsmith"
},
new ObjectIdentity
{
SignInType = "emailAddress",
Issuer = "btrikas.onmicrosoft.com",
IssuerAssignedId = "mohamedrks@gmail.com"
},
},
PasswordProfile = new PasswordProfile
{
Password = "xWwvJ]6NMw+bWH-d",
ForceChangePasswordNextSignIn = false,
},
PasswordPolicies = "DisablePasswordExpiration"
};
var graphServiceClnt = _startup.CreateTenant(tenant, scopesUserCreate);
var secureStringPassword = _helper.getSecureString("", password);
User newUser = await graphServiceClnt.Users
.Request()
.AddAsync(user);
I tried with this user but it was asking me to give values to following properties too.
AccountEnabled = true,
MailNickname = "RikiJo",
CreationType = "LocalAccount",
UserPrincipalName = "rj@btrikas.onmicrosoft.com",
still the error comes saying "Some properties are missing" but not mentioned specifically what's missing.
Did as per documentation but nothing works ? please help me.

