Unable to validate SharePoint site URL , getting 401 error in dynamic 365

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3135376%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EUnable%20to%20validate%20SharePoint%20site%20URL%20%2C%20getting%20401%20error%20in%20dynamic%20365%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3135376%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%3EHello%20folks%20!!%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EWe%20have%20dynamic%20365%20online%20integrated%20with%20SharePoint%20server2016%20on%20premises%20from%20year%202018.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3ESuddenly%20in%20Dec-2021%20%2C%20after%203%20years%2C%20we%20are%20getting%20error%20%3CFONT%20color%3D%22%5C%26quot%3B%23DF0000%5C%26quot%3B%22%3E%22%26lt%3B%5C%2FFONT%26gt%3B%3CFONT%20color%3D%22%5C%26quot%3B%23DF0000%5C%26quot%3B%22%3E%3CEM%3EYou%20don't%20have%20permissions%20to%20view%20files%20in%20this%20location.%20Contact%20your%20Microsoft%20Teams%20owner%20or%20SharePoint%20administrator%20for%20access.%26lt%3B%5C%2FEM%26gt%3B%26lt%3B%5C%2FFONT%26gt%3B%22%20in%20dynamic%20365%20%2C%20further%20while%20debugging%20found%20that%20Dynamic%20365%20is%20trying%20to%20validate%20SharePoint%20site%20but%20unable%20to%20validate.%26lt%3B%5C%2FP%26gt%3B%3C%2FEM%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3Bwhile%20validating%20site%20%2C%20getting%3CFONT%20color%3D%22%5C%26quot%3B%23DF0000%5C%26quot%3B%22%3E%3CSTRONG%3E%20401%20-unauthorized%20error.%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%5C%26quot%3B%23000000%5C%26quot%3B%22%3E%3CU%3EBelow%20information%20for%20reference%20%3A%26lt%3B%5C%2FU%26gt%3B%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3CUL%3E%3CLI%3E%3CSTRONG%3E%3CFONT%20color%3D%22%5C%26quot%3B%23008000%5C%26quot%3B%22%3EUser%20has%20Admin%20role%20in%20dynamic%20365%20and%20SharePoint.%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%3CFONT%20color%3D%22%5C%26quot%3B%23008000%5C%26quot%3B%22%3Esame%20user%20has%20Global%20admin%20role%20in%20Office%20365%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%3CFONT%20color%3D%22%5C%26quot%3B%23008000%5C%26quot%3B%22%3ESharePoint%26nbsp%3Bsite%20(On%20-Prem)%20able%20to%20access%20from%20browser%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%3CFONT%20color%3D%22%5C%26quot%3B%23008000%5C%26quot%3B%22%3ERaised%20ticket%20on%20Microsoft%26nbsp%3B-%20verified%20that%20dynamic%20365%20online%26nbsp%3B%20does%20not%20have%20any%20issue%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%26lt%3B%5C%2FUL%26gt%3B%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%5C%26quot%3B%23000000%5C%26quot%3B%22%3EPl.%20help%20to%20solve%20an%20issue.%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%5C%26quot%3B%23000000%5C%26quot%3B%22%3EThanks%20in%20advance%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3ERegards%2C%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%5C%26quot%3B%23000000%5C%26quot%3B%22%3EDhara%20Patel%26lt%3B%5C%2FFONT%26gt%3B%26lt%3B%5C%2FSTRONG%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3135376%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CLINGO-LABEL%3E2016%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EHybrid%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EPermissions%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EPowerShell%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3ESecurity%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3ESharePoint%20Server%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3ESites%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FU%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E
Visitor

Hello folks !!

 

We have dynamic 365 online integrated with SharePoint server2016 on premises from year 2018.

 

Suddenly in Dec-2021 , after 3 years, we are getting error "You don't have permissions to view files in this location. Contact your Microsoft Teams owner or SharePoint administrator for access." in dynamic 365 , further while debugging found that Dynamic 365 is trying to validate SharePoint site but unable to validate.

 

 while validating site , getting 401 -unauthorized error.

 

Below information for reference :

  • User has Admin role in dynamic 365 and SharePoint.
  • same user has Global admin role in Office 365
  • SharePoint site (On -Prem) able to access from browser
  • Raised ticket on Microsoft - verified that dynamic 365 online  does not have any issue

 

Pl. help to solve an issue.

Thanks in advance

 

Regards,

Dhara Patel

 

 

0 Replies