Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
922 views
in Technique[技术] by (71.8m points)

sharepoint - 503 Response Error Code - Using Graph API For Indexing Data against Microsoft Search

I have no clue as to why this is happening for this API only. I am getting 503 service unavailable. Can someone please help me in this. enter image description here

Payload Used:

{
  "@odata.type": "microsoft.graph.externalItem",
  "acl": [
    {
      "type": "user",
      "value": "****Azure Object ID***",
      "accessType": "grant",
      "identitySource": "azureActiveDirectory"
    },
    {
      "type": "user",
      "value": "*****AZURE OBJECT ID******",
      "accessType": "grant",
      "identitySource": "azureActiveDirectory"
    }
  ],
  "properties": {
    "Product": "Product created in manual",
    "Company": "ITC Infotech",
    "Category": "Mobile",
    "Description" : "this is just a dummy description",
    "Price": "$20.22",
    "HomePage": "https://www.google.com",
    "Image": "https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/gardenia-royalty-free-image-1580854928.jpg?crop=1xw:1xh;center,top&resize=480:*"
  },
  "content": {
    "value": "this is just a dummy description",
    "type": "text"
  }
}
question from:https://stackoverflow.com/questions/65846207/503-response-error-code-using-graph-api-for-indexing-data-against-microsoft-se

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Looks like you need to add /external/connections. Please look at this document.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...