首页 文章

如何使用图形api在Azure目录中添加外部用户

提问于
浏览
0

我试图在Azure活动目录中添加外部用户 . 我是使用仪表板添加的,它发送邀请链接,用户接受并使用链接设置密码,并在活动目录中添加用户 .

enter image description here

我添加了访客用户并发送邀请链接并接受链接并在azure目录中设置密码 . globe符号是外部用户的附加用户

enter image description here

但我试图在azure活动目录中使用Rest api添加外部用户 .

我是用邮差检查的

enter image description here

我正在检查微软文档create invitation它给了测试版的网址我在该网址中检查了我试图在广告中创建用户但响应是

{
    "error": {
        "code": "BadRequest",
        "message": "Invalid version",
        "innerError": {
            "request-id": "464934b2-8915-418e-8761-87778059692e",
            "date": "2017-09-19T13:30:26"
        }
    }
}

我试图在网址中创建租户ID,但它会返回

{
    "error": {
        "code": "BadRequest",
        "message": "Resource not found for the segment 'invites'.",
        "innerError": {
            "request-id": "2d940a4e-4ffe-4a3f-91e8-b94cb3536a59",
            "date": "2017-09-19T13:13:49"
        }
    }
}

我也登记入住https://www.eliostruyf.com/adding-guests-to-an-office-365-group-via-the-microsoft-graph-api/

它显示响应返回创建类型邀请但我没有得到预期的结果 .

我需要添加现有用户 . 是否有广告邀请 . 任何人都知道分享信息 .

提前致谢 .

1 回答

相关问题