Microsoft graph api 在o365中创建邮箱和创建用户图形api
我们需要通过create_user graph api创建具有邮件帐户的office 365用户。但已成功创建用户,但未创建邮件帐户Microsoft graph api 在o365中创建邮箱和创建用户图形api,microsoft-graph-api,microsoft-graph-mail,Microsoft Graph Api,Microsoft Graph Mail,我们需要通过create_user graph api创建具有邮件帐户的office 365用户。但已成功创建用户,但未创建邮件帐户 让我们知道api名称,以便通过api直接创建具有邮件帐户的用户。Microsoft Graph api没有此功能。对于邮箱创建,您需要使用New-mailbox cmdlet进行创建。您还可以使用.Net进行以下操作:) 比如说, $password = Read-Host "Enter password" -AsSecureString
让我们知道api名称,以便通过api直接创建具有邮件帐户的用户。Microsoft Graph api没有此功能。对于邮箱创建,您需要使用New-mailbox cmdlet进行创建。您还可以使用.Net进行以下操作:) 比如说,
$password = Read-Host "Enter password" -AsSecureString
New-Mailbox -UserPrincipalName chris@contoso.com -Alias chris -Database "Mailbox Database 1" -Name ChrisAshton -OrganizationalUnit Users -Password $password -FirstName Chris -LastName Ashton -DisplayName "Chris Ashton" -ResetPasswordOnNextLogon $true
更新答案如下。考虑一下投票并接受它作为答案。所以它也可以对社区中的其他人有用:)我认为答案在2021年仍然是准确的。。。