我正在使用 Microsoft Graph 在 Azure AD 中创建新用户。我正在使用 Graph Explorer 来执行此操作,我正在向https://graph.microsoft.com/v1.0/users发出 POST 请求,正文中包含以下内容:
{
"accountEnabled": true,
"displayName": "displayName-value",
"mailNickname": "mailNickname-value",
"userPrincipalName": "upn-value@tenant-value.onmicrosoft.com",
"passwordProfile" : {
"forceChangePasswordNextSignIn": true,
"password": "password-value"
}
}
Run Code Online (Sandbox Code Playgroud)
我不断收到错误:“未找到与请求 URI https://outlook.office365.com:444/profile/v1.0/users匹配的 HTTP 资源..”
我在谷歌中没有找到任何有关此错误的信息,这是为什么?如果我向“https://graph.microsoft.com .. ”发出请求,为什么请求 URI 为“https:/outlook.office35.com:444..” ?