office365 - The operation was cancelled.. ErrorCode: 3072 -
we working on ios application using msoutlook-sdk-ios version 2.0.1 enable users send , receive work (outlook) emails ios app. registered ios app within microsoft azure activedirectory , specified microsoft graph (5 delegated permissions) , office 365 exchange online (4 delegated permissions) permissions. here app manifest in azure ad:
{ "appid": "3b008367-4e7d-43e5-9a76-46a908e8fa65", "approles": [], "availabletoothertenants": true, "displayname": "chatbaka", "errorurl": null, "groupmembershipclaims": null, "homepage": null, "identifieruris": [], "keycredentials": [], "knownclientapplications": [], "logouturl": null, "oauth2allowimplicitflow": false, "oauth2allowurlpathmatching": false, "oauth2permissions": [], "oauth2requirepostresponse": false, "passwordcredentials": [], "publicclient": true, "replyurls": [ "url based on app name , ios bundle id" ], "requiredresourceaccess": [ { "resourceappid": "00000003-0000-0000-c000-000000000000", "resourceaccess": [ { "id": "14dad69e-099b-42c9-810b-d002981feec1", "type": "scope" }, { "id": "64a6cdd6-aab1-4aaf-94b8-3cc8405e90d0", "type": "scope" }, { "id": "e383f46e-2787-4529-855e-0e479a3ffac0", "type": "scope" }, { "id": "024d486e-b451-40bb-833d-3e66d98c5c73", "type": "scope" }, { "id": "570282fd-fa5c-430d-a7fd-fc8dc98a9dca", "type": "scope" } ] }, { "resourceappid": "00000002-0000-0ff1-ce00-000000000000", "resourceaccess": [ { "id": "2e83d72d-8895-4b66-9eea-abb43449ab8b", "type": "scope" }, { "id": "5eb43c10-865a-4259-960a-83946678f8dd", "type": "scope" }, { "id": "75767999-c7a8-481e-a6b4-19458e0b30a5", "type": "scope" }, { "id": "185758ba-798d-4b72-9e54-429a413a2510", "type": "scope" } ] } ], "samlmetadataurl": null, "extensionproperties": [], "objecttype": "application", "objectid": "b49a326e-1053-4a34-92e3-453b7adecf1a", "deletiontimestamp": null, "createdonbehalfof": null, "createdobjects": [], "manager": null, "directreports": [], "members": [], "memberof": [], "owners": [], "ownedobjects": [] }
the msoutlook-sdk-ios version 2.0.1 has dependencies on orc library version 0.20.3 , adalios library version 1.2.4. ios app using following authentication endpoints , resources:
static private let kredirecturl = "based on app name , ios bundle id" // azure oauth2 authority static private let kauthorityurl = "https://login.microsoftonline.com/common" // resource identifier outlook apis static private let koutlookresourceurl = "https://outlook.office365.com" // client id obtained registering app static private let kclientid = "obtained manually registering in azure ad" // api version url static let kapiurl = "https://outlook.office.com/api/v2.0"
we noticing users able work email in ios app while other users experiencing authorization errors.
we have following questions:
- the msoutlook-sdk-ios version 2.0.1 last updated 9 months ago https://github.com/officedev/outlook-sdk-ios have plans update sdk? if when? using cocoapods manage third party library dependencies.
for 1 of our users getting following error ios adal library : error: authorization error. additional information: operation cancelled.. errorcode: 3072. added logic change adal logging level verbose.
here log snippet:could provide more information on why user getting error , how fix it?
Comments
Post a Comment