Google Apps Marketplace CustomerLicense returns 即使安装后仍未获得许可

Google Apps Marketplace CustomerLicense returns UNLICENSED even after installation

此问题与此处宣布的 "non-admin can install an app on a domain" 功能的发布有关:http://googleforwork.blogspot.com/2014/09/google-apps-marketplace-to.html

我发现当非管理员将我们的应用程序安装到他们的域中(通过使用白名单)时,从“https://www.googleapis.com/appsmarket/v2/customerLicense/”端点返回的 CustomerLicense 仍然是未经许可的。当管理员安装应用程序时,CustomerLicense 被正确设置为 ACTIVE。

似乎是一个错误。如果没有,GAM 团队的人可以帮助澄清我在这里应该期待什么吗?谢谢!

非管理员仅为 himself/herself 安装应用程序。由于 CustomerLicense api 用于查询域级许可信息,因此 api 正确地 returns UNLICENSED。

尝试使用 UserLicense api 而不是 https://developers.google.com/apps-marketplace/v2/reference/userLicense