“不允许上传自定义应用程序"安装 Microsoft Teams 示例应用程序时 [英] "Uploading custom apps is not allowed" When Installing Microsoft Teams Sample App

查看:111
本文介绍了“不允许上传自定义应用程序"安装 Microsoft Teams 示例应用程序时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新:我刚刚意识到我可以安装它,如果我下载它然后通过应用程序将它引入 > 上传自定义应用程序,所以它只是从 App Studio 中安装它会出现错误.

<小时>

我正在尝试使用

但是我无法打开它.它已被禁用,表示设置已移至Microsoft Teams 和 Skype for Business 管理中心".

在该管理中心,我转到了 Teams 应用 > 权限策略.在那里,对于全局(组织范围的默认设置)",我对所有内容都设置了允许所有应用程序":.

对于组织范围的应用程序设置",我打开了与自定义应用程序的交互:.

在设置策略">全局"(组织范围的默认设置)下,我将允许上传自定义应用程序"设置为:.

我以受该政策约束的用户身份登录:

我被难住了.我还需要做什么才能旁加载 Teams 应用进行开发?

解决方案

我遇到了同样的问题,它实际上让我发疯了,尤其是因为应用更改可能需要几个小时.最后,我能够通过以下方式解决问题.我可以想象某些步骤是不必要的,但谁知道呢.

  1. 按照管理应用中的说明进行操作在 Microsoft Teams 中设置策略,在全局(组织范围默认)"中启用上传自定义应用程序".
  2. 按照相同的说明创建了一个启用了上传自定义应用程序"的自定义设置策略.
  3. 按照 在 Microsoft Teams 中管理应用权限策略
  4. 在启用所有内容的情况下创建新的权限策略.
  5. 等待大约一个小时.
  6. 将这些新政策分配给用户.
  7. 确保 在 Microsoft Teams 中管理自定义应用策略和设置 已启用.
  8. 再等一个小时.
  9. 退出桌面应用程序,然后重新启动.

现在,终于可以了.

Update: I just realized that I can install it if I download it and then bring it in via Apps > Upload a custom app, so it's only installing it from within App Studio that gives the error.


I'm trying to work through the sample app at https://docs.microsoft.com/en-us/microsoftteams/platform/get-started/get-started-dotnet-app-studio, but I'm stuck at the part where you install it into Teams.

I get the error: "Uploading custom apps is not allowed."

According to Prepare your Office 365 tenant, in the admin center, under Settings > Services & add-ins > Microsoft Teams > Tenant-wide settings > Apps, I should turn on "Allow sideloading of external apps." In my tenant, that is indeed turned off:

But I can't turn it on. It's disabled, saying the settings have moved to the "Microsoft Teams & Skype for Business admin center."

In that admin center, I went to Teams apps > Permission policies. There, for "Global (Org-wide default), I have "allow all apps" for everything: .

For "Org-wide app settings", I have interaction with custom apps turned on: .

Under Setup policies > Global (Org-wide default), I have "Allow uploading custom apps" on: .

And I'm signed in as a user governed by that policy:

I'm stumped. What else do I need to do so that I can sideload a Teams app for development?

解决方案

I had the same problem and it actually made me crazy especially because it may take a few hours to apply changes. Finally I was able to resolve the problem in the following way. I can imagine that certain steps are unnecessary but who knows.

  1. By following instructions in the Manage app setup policies in Microsoft Teams, enable "Upload custom apps" in "Global (Org-wide default)".
  2. Following same instructions created a custom setup policy with enabled "Upload custom apps".
  3. Enable all permissions in "Global (Org-wide default)" as described in the Manage app permission policies in Microsoft Teams
  4. Create a new permission policy with everything enabled.
  5. Wait about an hour.
  6. Assign these new policies to the user.
  7. Make sure that everything what is mentioned in Manage custom app policies and settings in Microsoft Teams is enabled.
  8. Wait another hour.
  9. Quit desktop application, and start it again.

Now, finally, it works.

这篇关于“不允许上传自定义应用程序"安装 Microsoft Teams 示例应用程序时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆