我一直在尝试访问findMeetingTime API,但每次尝试都出现错误。我的应用程序具有允许的(已授权)权限。
我对以下内容以及现在支持的应用程序的含义感到困惑
权限类型权限(从最低权限到最高权限)委派的(工作或学校帐户)Calendars.Read.Shared,Calendars.ReadWrite.Shared委派的(个人Microsoft帐户)不支持。应用程序不支持。
有人可以解释该过程。
错误
{
"error": {
"code": "BadArgument",
"message": "Invalid user address",
"innerError": {
"request-id": "929f6e29-694b-4fbc-a789-bd679403ab63",
"date": "2019-04-22T23:15:43"
}
}
}
请求
{
"attendees": [
{
"type": "required",
"emailAddress": {
"name": "M",
"address": "[email protected]"
}
}
],
"locationConstraint": {
"isRequired": "false",
"suggestLocation": "false",
"locations": [
{
"resolveAvailability": "false",
"displayName": "xxx"
}
]
},
"timeConstraint": {
"activityDomain": "work",
"timeslots": [
{
"start": {
"dateTime": "2019-04-16T09:00:00",
"timeZone": "Pacific Standard Time"
},
"end": {
"dateTime": "2019-04-18T17:00:00",
"timeZone": "Pacific Standard Time"
}
}
]
},
"isOrganizerOptional": "false",
"meetingDuration": "PT1H",
"returnSuggestionReasons": "true",
"minimumAttendeePercentage": "100"
}
如果使用注册的应用程序,则具有应用程序权限。不幸的是,此方法不支持此权限类型。