遇到在 Teams 中上传自定义应用时出现的错误。

huangapple go评论91阅读模式
英文:

Getting Error while uploading the Custom App in Teams

问题

以下是翻译好的部分:

"有一个用户正在尝试通过 Teams 上传自定义应用程序,但遇到以下错误。

无法在 Azure Active Directory 中创建应用程序。可以通过使用 Microsoft 365 开发人员帐户登录解决此问题,您可以通过加入 Microsoft 365 开发人员计划(https://developer.microsoft.com/en-us/microsoft-365/dev-program)申请免费帐户。详细错误信息:请求失败,状态代码 403。原因:权限不足,无法完成操作。"

"目前,我已为用户分配了 E3 许可证并创建了一个 Teams 策略以上传自定义应用程序。用户目前没有任何 Azure AD 角色。是否需要分配任何 Azure AD 角色给用户以解决此问题,或者这是许可证的问题?"

英文:

So one of our user is trying to upload the custom app through the Teams and getting below error.

Failed to create an app in Azure Active Directory. This problem can be resolved by login using a Microsoft 365 developer account, you can apply for a free account by joining Microsoft 365 Developer Program(https://developer.microsoft.com/en-us/microsoft-365/dev-program). Detailed error: Request failed with status code 403. Reason: Insufficient privileges to complete the operation."

Currently I have assigned the E3 license to the user and created one teams policy to upload the Custom app. User doesn't have any Azure AD role at the moment. is any any Azure AD role we need to assign to the user to rid off the issue or is this something license issue?

答案1

得分: 1

> 在Azure Active Directory中创建应用程序失败。可以通过使用Microsoft 365开发人员帐户登录来解决此问题,您可以申请免费帐户。
>
> 详细错误: 请求失败,状态码为403。原因:权限不足以完成操作。
该错误通常发生在用户没有所需权限或Azure AD目录角色以上传自定义应用程序的情况下。
为解决此错误,您可以尝试以下操作:
检查添加的E3许可证是否包含**Microsoft Teams
遇到在 Teams 中上传自定义应用时出现的错误。
确保用户已分配了
应用程序管理员应用程序开发人员角色之一:
遇到在 Teams 中上传自定义应用时出现的错误。
如果没有,请按以下方式为用户分配
应用程序开发人员应用程序管理员角色:
转到Azure门户 -> Azure Active Directory -> 角色和管理员 -> 所有角色 -> 选择角色 -> 添加分配 -> 选择用户
遇到在 Teams 中上传自定义应用时出现的错误。
分配角色后可能会有
延迟**,请稍后再试。
如果仍然存在错误,请使用Microsoft 365开发人员帐户登录并检查。如果没有,请尝试加入Microsoft 365开发人员计划。
参考资料:
上传自定义应用程序 - Teams

英文:

> Failed to create an app in Azure Active Directory. This problem can be resolved by login using a Microsoft 365 developer account, you can apply for a free account.
>
> Detailed error: Request failed with status code 403. Reason: Insufficient privileges to complete the operation."

The error usually occurs if the user doesn’t have required permissions or Azure AD Directory roles to upload the custom application.

To resolve the error, you can try the following:

Check whether the added E3 license have Microsoft Teams included in it or not:

遇到在 Teams 中上传自定义应用时出现的错误。

Make sure whether the user has either Application Administrator or Application Developer role assigned:

遇到在 Teams 中上传自定义应用时出现的错误。

If not, assign Application Developer or Application Administrator role to the user like below:

Go to Azure Portal -> Azure Active Directory -> Roles and administrators -> All roles -> Select role -> Add assignment -> Select user

遇到在 Teams 中上传自定义应用时出现的错误。

There might be delay for few minutes after assigning role, so try after some time.

If still the error persists, login with Microsoft 365 Developer Account and check. If you don’t have then try joining Microsoft 365 Developer Program.

Reference:

Upload your custom app - Teams

huangapple
  • 本文由 发表于 2023年5月15日 15:09:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/76251639.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定