不在 Microsoft Azure 中订阅是否可以获得 Office 365 的访问令牌?-swift

without subscription in microsoft azure is it possible to get access token for office 365?-swift

我正在制作一个集成了 onedrive api 的 ios 应用程序,它在登录 Office 365 时给我这个错误并且(我没有订阅 Microsoft azure 是问题吗? )

systemgroup.com.apple.configurationprofiles path is /Users/OdysseyApps/Library/Developer/CoreSimulator/Devices/19CE4531-2058-46DD-8F7C-DB3B6ACC06DC/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2017-03-14 17:23:46.379838 onedrive[861:28260] [MC] Reading from private effective user settings. 2017-03-14 17:24:06.853 onedrive[861:28260] -[ADAuthenticationBroker webAuthenticationDidCancel][353][main] 2017-03-14 17:24:06.872 onedrive[861:28260] ADALiOS [2017-03-14 11:24:06 - C0176528-6FB0-4085-BD79-F59FB164A673] ERROR: Error raised: 1. Additional Information: Domain: ADAuthenticationErrorDomain ProtocolCode:(null) Details:The user has cancelled the authorization.. ErrorCode: 1. 2017-03-14 17:24:07.398 onedrive[861:28260] ADALiOS [2017-03-14 11:24:07 - C0176528-6FB0-4085-BD79-F59FB164A673] ERROR: Error raised: 1. Additional Information: Domain: ADAuthenticationErrorDomain ProtocolCode:(null) Details:The user has cancelled the authorization.. ErrorCode: 1.

是否可以在不订阅 Microsoft Azure 的情况下获取 Office 365 的访问令牌。或者没有访问令牌是否可以使用一个驱动器访问一个驱动器 api

是的。有可能的。最后我在一个驱动器中上传了一个文件,没有在 mIcrosoft Azure 中订阅。这里是linkhttps://github.com/microsoftgraph/ios-swift-snippets-sample