Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to create a user in Graph Explorer. But I am getting A resource without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified.
{
"accountEnabled": true,
"city": "Seattle",
"country": "United States",
"department": "Sales & Marketing",
"displayName": "AAA AAA",
"givenName": "AAA",
"jobTitle": "Marketing Director",
"mailNickname": "MelissaD",
"passwordPolicies": "DisablePasswordExpiration",
"passwordProfile": {
"password": "Password1",
"forceChangePasswordNextSignIn": false
},
"officeLocation": "131/1105",
"postalCode": "98052",
"preferredLanguage": "en-US",
"state": "WA",
"streetAddress": "9256 Towne Center Dr., Suite 400",
"surname": "Darrow",
"mobilePhone": "+1 000 000 0110",
"usageLocation": "",
"userType": "member",
"identities": [
{
"AdditionalData": {},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"Issuer": "<my b2c tenantId>",
"IssuerAssignedId": "******@yopmail.com",
"SignInType": "emailAddress"
},
{
"AdditionalData": {},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"Issuer": "<my b2c tenantId>",
"IssuerAssignedId": "beta1",
"SignInType": "userName"
}
]
}
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Answer accepted by question author
Hi @JS Arya ,
Please check the following