使用ECMA从MIM调用图形API并尝试执行delta导入时,获取当前错误
Delta调用给出了图中的错误
{
"error": {
"code": "Request_UnsupportedQuery",
"message": "API version mismatch: request version 25 with deltaLink version 27",
"innerError": {
"request-id": "478063b8-b750-4448-bc11-36c5b87459da",
"date": "2017-11-14T15:50:20"
}
}
}
正在进行的通话是
https://graph.microsoft.com:443/v1.0/groups/delta/?$deltatoken=qqUEEKUqLwDi6qq-bg-nTaJxe-ckqs0PAEZwJypt1zejetmDvBtjX9o15GLqdVULRIbqv-el6F6tFjliwPwnDDnAeRMlgnPk8Wza8rt4Y16Emoqdq6jqoMOUOjYwFDyEyzWzuzYCuwZFCn1iuU5jUo33S7jaR-Mnn6fvthfoOJHumBxm4SMfNT0DjYKxCEb-x0Ts_NdqcswG26EG8HwuKtQVcg345m8eaFOm-mgU7lmSezVs1v-9Gw8z2rgNvyGXdxYdOeTqFl25gXQdakqdkDW-MT3kxwwEz_u4dyRjGYYm9r-ZdEzapfrg1gX9Trt3V2_UNU7C4TxzZ6IlmsU-seDmD6D-lmt0c-i7ICjGOzqrZ1HrBtxoVH8g4yL_IdIoOGXIJfkvcAFAhk9EPR7g6oCP5Ne4r2XdGQ6qUHyzq-xCIwFIocDnAY7Xc96N9phLnWO_TcLFsLJksTu2bxFix_pCOC3ZKiKJBG2lSlyhRE00Yj9XpX1paQ4e1nkKaNEZxKQHoJnWsTqOuqY1X59yldVOXboMpPFaPS5p1PJIPEZw2uSYGCp7d4g3JOLLAoftteu4nsCcr7cxESwG1br8ztHVFJjQyDVNUVq2-iSad0CG7RMJ2Z-CCntT34MgJ1-tL9wfHIOxn0YiyDB_jpi3MEVwI5Sgkwqq6tKx0Goa-fpU7cxIKpXmbHXttXo2OexF4aRe1i3EJv9DFBrMeCNqh0ykJFlDh-7fkyU3DgawKhGxQ9wPJMlCPzCbEbB8P-kpZlDfCxEYciRjLrl5lP2eXPPkNGzbfLM9PllwX-UnEJNlnzAxSpurL0_4HZ3hOup3bS-1EnZLnmv3BE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Ojxdbcerjbv7DLbvF1aQW_VUlTRU72GOaR4ZSIRbS0--I0UJTiFuzLSM7BlBEyj1hCO5KwE5GTusSiND1aHWYtoMIO6Sl2p69Oc9MwLt307vHVMUeYEWqshyaJu0NuzIxNAofUvzEtu37XEjM2dJkgcW7C8r9O0Td-vxshCeJjeeFjHD08_GDR3zzd_2Vr9hDdceZn6j2D6-jrQkn2pmTVXAp8XF3LxY-yiDeYwV8IekkPJkMgBI5IaB-olzD-g8PVflJ9_tBbejiQu8rJRCpIRhAs_5dqKU9SDl1Zbb5Z1Tg9z_8jIPVxmnLQhiT08hbIbGYZPir9egg93KJH9tQN2shhgfot6IoHxe_WeDuGDnt5tW8gYV0FtYdlP_LFc2MLPIW-AKnBbVRoif6ef3YwxGTKReBpHo4vHB0iI7I5NbbEapNBy7nabwd4dDnMArCVJj6Xc7aFP_S0qBuqNivUd1ErCqWs3f4itWf81FOdaAOPZUQMauJm--UpoyYcSy-O9u8LqEbKES2L2j11RZHLo7QFVuvLHxSDLMc0ppAIfAFrNvgoIT9eXSmCPrPHIC6CRGB0-poQxfGnQa65SGgvJDC8p9tvKJksFVWZw9uAyIKJfTxJNFArt3qvJENZF9ibiPLJy_iApl3w.GcWm0-PZzysRyQAOMHKQ79l8QFo2jcLAZSnBZTkWd2M&$select=members,securityEnabled,onPremisesSecurityIdentifier,mailNickname,displayName,id,onPremisesSyncEnabled,owners,groupTypes,mail,mailEnabled&$top=500
答案 0 :(得分:0)
我为Microsoft Graph delta查询团队工作。
我使用了错误消息中提到的请求ID和时间,并找到了带有请求ID的Microsoft Graph日志。
错误说:[API版本不匹配:使用deltaLink版本27请求版本25]
这意味着,客户端已使用从内部版本27(AGSBetaB-internal)生成的Delta链接,并调用内部版本25(AGSv1-internal)。
我怀疑这里的问题是“客户端通过调用MS Graph Beta版本端点获得Delta链接,然后使用该delta链接对MS Graph V1版本端点进行新调用”。
要确认上述声明,我们需要上一次调用的请求ID和时间,它给出了delta链接。
请注意: Delta链接在不同的API版本的Graph中不可共享。