Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
912 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 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...