SPFx - SP REST api call 403 issue - Multi-Geo enabled site accessing content from non-Multi-Geo site

%3CLINGO-SUB%20id%3D%22lingo-sub-1984098%22%20slang%3D%22en-US%22%3ESPFx%20-%20SP%20REST%20api%20call%20403%20issue%20-%20Multi-Geo%20enabled%20site%20accessing%20content%20from%20non-Multi-Geo%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984098%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20are%20working%20on%20Spfx%20App%20development%20and%20using%20the%20SharePoint%20REST%20api%20query%20the%20information%20from%20some%20other%20SharePoint%20site%20list.%3CBR%20%2F%3E%3CBR%20%2F%3EOur%20spfx%20webpart%20is%20being%20added%20to%20a%20multi-geo%20enabled%20site%20and%20the%20list%20that%20we%20are%20trying%20to%20access%20from%20spfx%20is%20available%20in%20a%20site%20collection%20that%20is%20not%20multi-geo%20enabled.%20With%20this%20we%20are%20getting%20CORS%20and%20403%20issue.%20When%20we%20add%20the%20spfx%20webpart%20to%20normal%20site%20without%20multi%20geo%20enabled%2C%20we%20don't%20see%20any%20issues%20in%20accessing.%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20anyone%20face%20this%20issue%3F%20Any%20clues%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1984098%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EApp%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Lists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EResponsive%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992257%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20-%20SP%20REST%20api%20call%20403%20issue%20-%20Multi-Geo%20enabled%20site%20accessing%20content%20from%20non-Multi-Geo%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992257%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%20Any%20leads%20on%20this%20issue%20will%20be%20very%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hello Everyone,

We are working on Spfx App development and using the SharePoint REST api query the information from some other SharePoint site list.

Our spfx webpart is being added to a multi-geo enabled site and the list that we are trying to access from spfx is available in a site collection that is not multi-geo enabled. With this we are getting CORS and 403 issue. When we add the spfx webpart to normal site without multi geo enabled, we don't see any issues in accessing.

Did anyone face this issue? Any clues?

 

Thanks,

Bhanu

1 Reply

Hello Everyone, Any leads on this issue will be very helpful.