Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

custom Connector calling Graph endpoint failes for one site (ItemNotFound exception)



We have  a custom connector which is calling a sitePages Graph API endpoint (/beta/sites/,211cf7bf-caf4-4ecd-91b0-c30974aa2e37,41bf8ea8-3d19-4364-af8e-d3aa72302289/pages)


When we use Test screen by passing necessary payload, pages gets seccesfully created in sitecollection1. AD App used for this has been give Sites.ReadWrite.All access (Both applicaiton and Delegate permission)


However, when same connector is used against another siteCollection2 from same tenant we are getting below ItemNotFound exception


"error": {
"code": "itemNotFound",
"message": "Item not found",
"innerError": {
"date": "2021-08-31T07:05:27",
"request-id": "00f208a4-bcd4-447f-8299-62aadd8a8ab5",
"client-request-id": "00f208a4-bcd4-447f-8299-62aadd8a8ab5"


I can create page succesfully at sitecolleciton2 using graph explorer. 


Payload being passed is below,


"name": "test.aspx",
"title": "defaulttext",
"publishingState": {
"level": "checkout",
"versionId": "1.1"
"webParts": [
"type": "rte",
"data": {
"innerHTML": "HTMLCOntent"


I did use Network tracer to verify tokens and they appear to be same. Its really strage why it would work against one and not other. Account being used on test screen has Site collection admin access on both sites




Community Support
Community Support

does it work with global admin account 

Helper II
Helper II

I am global admin on this tenant. 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,712)