简体   繁体   English

多个选择错误通过Microsoft Graph邀请用户

[英]Multiple Choices error inviting a user through the Microsoft Graph

I've had a working process inviting external users through the Microsoft Graph. 我有一个工作流程通过Microsoft Graph邀请外部用户。 The is the documentation: Invitation manager & Create invitation 这是文档: 邀请管理器创建邀请

It has run successfully for a while and now it broke with the error: 它已成功运行了一段时间,现在它突破了错误:

StatusCode: 300 - Ambigious

ReasonPhrase: Multiple Choices

I have no clue on what this error means. 我不知道这个错误意味着什么。 I've checked if there's already a user in AAD, but that's not the case. 我已经检查过AAD中是否已有用户,但事实并非如此。 And I can't find anything relevant through Google. 我无法通过Google找到任何相关内容。

Update: it seems to be specific to one user. 更新:它似乎特定于一个用户。 I've changed my code and other users seem to work fine. 我已经改变了我的代码,其他用户似乎工作得很好。 Still no clue on why it wouldn't work for this user. 仍然不知道为什么它对这个用户不起作用。

Update 2: The user has already been invited and has accepted the invitation. 更新2:用户已被邀请并已接受邀请。 Now he is re-invited using an alias in (what I assume) the same Office 365 source tenant. 现在,他使用同一个Office 365源租户中的别名(我假设)重新邀请他。 Maybe that's an explanation for this error. 也许这是对这个错误的解释。

Update 3: I used my dev tenant as the 'external' tenant, and invited myself on both the main UPN as on an alias. 更新3:我使用我的开发租户作为“外部”租户,并邀请自己在主要的UPN和别名上。 This is not causing the same issue, and doesn't seem to be an explanation. 这不会导致同样的问题,似乎不是一个解释。

也许您可以使用invitedUserDisplayName重命名一个新的,这与之前的邀请不同,然后再次邀请。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM