[英]Can't access office365 Calendar API using Azure trial account
I want to get an access to Calendar rest API. 我想访问Calendar rest API。 I've created azure multi-tenant app, and configured it.
我已经创建了azure多租户应用程序,并对其进行了配置。
I'm trying to get an access token to resource " https://outlook.office365.com/ ", but I get an error 我正在尝试获取对资源“ https://outlook.office365.com/ ”的访问令牌,但出现错误
'AADSTS50001: Resource ' https://outlook.office365.com/ ' is disabled.' ''AADSTS50001:资源' https://outlook.office365.com/ '已禁用。
Note: I couldn't find "Office 365 Exchange Online" inside "Permissions to other applications" section inside azure account. 注意:在azure帐户的“对其他应用程序的权限”部分中找不到“ Office 365 Exchange Online”。
Your help please. 请你帮忙。
You won't see Exchange in your Azure account unless you have an Office 365 subscription that includes Exchange. 除非您具有包含Exchange的Office 365订阅,否则您不会在Azure帐户中看到Exchange。 It sounds like you're registering in https://manage.windowsazure.com ?
听起来您是在https://manage.windowsazure.com中注册? You might want to try registering your app in https://apps.dev.microsoft.com and using the v2 Azure auth flow.
您可能想要尝试在https://apps.dev.microsoft.com中注册您的应用程序,并使用v2 Azure身份验证流。 Big benefit is you can register apps with just a Microsoft account (like outlook.com, etc) See https://dev.outlook.com/RestGettingStarted for walkthroughs.
最大的好处是您可以仅使用Microsoft帐户(例如outlook.com等)注册应用程序。有关演练,请参阅https://dev.outlook.com/RestGettingStarted 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.