The app@sharepoint principal is not resolving in newly created tenants

%3CLINGO-SUB%20id%3D%22lingo-sub-1595624%22%20slang%3D%22en-US%22%3EThe%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1595624%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId--1293483304%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483275%22%20id%3D%22toc-hId--1293483304%22%3E%3CEM%3EThis%20is%20a%20followup%20thread%20to%20a%20github%20post%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F6155%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F6155%3C%2FA%3E)%20which%20has%20been%20closed.%20It%20has%20been%20asked%20to%20reopen%20this%20topic%20here.%3C%2FEM%3E%3C%2FH2%3E%3CP%3EThanks%20to%20the%20original%20creator%20Michael%20Jensen%20for%20opening%20this%20topic%20in%20GitHub.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EWe%20experienced%20the%20same%20problems%20in%20three%20new%20developer%20Tenants%20we%20have%20created%20in%20the%20last%20two%20weeks.%3C%2FSTRONG%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1194029529%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029558%22%20id%3D%22toc-hId-1194029529%22%3E%3CEM%3EDescribe%20the%20bug%3C%2FEM%3E%3C%2FH2%3E%3CP%3E%3CEM%3EIn%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fblob%2Fe49588c642eac9aff573ba84ffde2ca35ee07546%2Fdocs%2Fsolution-guidance%2Felevated-privileges-in-sharepoint-add-ins.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eelevated%20privileges%20page%3C%2FA%3E%26nbsp%3Bthere%20is%20an%20important%20tip%20about%20adding%20the%20app%40sharepoint%20user%20as%20a%20term%20store%20administrator%20if%20you%20need%20app-only%20write%20access%20to%20the%20term%20store%20(I%20believe%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fwobba%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40wobba%3C%2FA%3E%26nbsp%3Boriginally%20wrote%20about%20this%20in%20a%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.techmikael.com%2F2018%2F08%2Fmodifying-terms-using-app-only-tokens.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Epost%3C%2FA%3E%26nbsp%3Ba%20couple%20of%20years%20ago).%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EUnfortunately%20we%20were%20not%20able%20to%20add%20the%20app%40sharepoint%20user%20to%20the%20term%20store%20administrators%20group%20in%20a%20couple%20of%20tenants%20that%20we%20created%20in%20the%20past%20couple%20of%20days%20-%20that%20account%20will%20not%20resolve%20in%20the%20old%20and%20new%20term%20store%20UI%20(as%20shown%20in%20the%20following%20screenshots)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EOld%20page%3C%2FEM%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22termstore3.png%22%20style%3D%22width%3A%20809px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F213056iFABA998ECE270026%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22termstore3.png%22%20alt%3D%22termstore3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3ENew%20page%3C%2FEM%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EIt%20appears%20this%20issue%20is%20not%20isolated%20to%20the%20term%20store%2C%20as%20that%20user%20would%20not%20resolve%20in%20other%20user%20management%20areas%20(i.e.%20site%20collection%20admin%2C%20etc.)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EWhat%20made%20this%20even%20more%20confusing%20was%20I%20was%20able%20to%20get%20the%20app%40sharepoint%20account%20to%20resolve%20in%20one%20of%20our%20newly%20created%20tenants%20this%20afternoon%2C%20but%20that%20only%20worked%20via%20the%20old%20term%20store%20UI%20-%20the%20other%20tenant%20we%20created%20yesterday%20is%20still%20not%20able%20to%20resolve%20that%20account.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EI%20also%20tried%20adding%20the%20full%20username%20i%3A0i.t%7C00000003-0000-0ff1-ce00-000000000000%7Capp%40sharepoint%20and%20experienced%20the%20same%20result%20as%20trying%20to%20simply%20add%20app%40sharepoint.%3C%2FEM%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId--613424934%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424905%22%20id%3D%22toc-hId--613424934%22%3E%3CEM%3ESteps%20to%20reproduce%3C%2FEM%3E%3C%2FH2%3E%3COL%3E%3CLI%3E%3CEM%3ECreate%20a%20new%20tenant%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3EGo%20to%20the%20term%20store%20in%20the%20SharePoint%20admin%20center%20(you%20can%20try%20this%20in%20both%20the%20old%20and%20new%20UI)%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3EAdd%20app%40sharepoint%20to%20the%20term%20store%20administrators%20and%20try%20to%20resolve%20that%20account%20(and%2For%20save%20your%20change)%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3ESee%20the%20error%20saying%20no%20match%20found%20in%20the%20old%20UI%20(or%20no%20error%2C%20but%20no%20user%20resolution%20in%20the%20new%20UI)%3C%2FEM%3E%3C%2FLI%3E%3C%2FOL%3E%3CH2%20id%3D%22toc-hId-1874087899%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087928%22%20id%3D%22toc-hId-1874087899%22%3E%3CEM%3EExpected%20behavior%3C%2FEM%3E%3C%2FH2%3E%3CP%3E%3CEM%3EI%20expect%20the%20app%40sharepoint%20account%20to%20resolve%2C%20so%20we%20can%20continue%20to%20use%20app%20only%20principals%20to%20write%20to%20the%20term%20store.%3C%2FEM%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId-66633436%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633465%22%20id%3D%22toc-hId-66633436%22%3E%3CEM%3EEnvironment%20details%20(development%20%26amp%3B%20target%20environment)%3C%2FEM%3E%3C%2FH2%3E%3CUL%3E%3CLI%3E%3CEM%3E%3CSTRONG%3EYour%20Developer%20Environment%3C%2FSTRONG%3E%3A%20N%2FA%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3E%3CSTRONG%3E%3CSTRONG%3ETarget%20Environment%3C%2FSTRONG%3E%3C%2FSTRONG%3E%3A%20SharePoint%20Online%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3E%3CSTRONG%3EFramework%3C%2FSTRONG%3E%3A%20N%2FA%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3E%3CSTRONG%3EBrowser(s)%3C%2FSTRONG%3E%3A%20Chrome%20v84%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3E%3CSTRONG%3ETooling%3C%2FSTRONG%3E%3A%20N%2FA%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3E%3CSTRONG%3EAdditional%20details%3C%2FSTRONG%3E%3A%20N%2FA%3C%2FEM%3E%3C%2FLI%3E%3C%2FUL%3E%3CH3%20id%3D%22toc-hId-757194910%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194939%22%20id%3D%22toc-hId-757194910%22%3E%3CEM%3EAdditional%20context%3C%2FEM%3E%3C%2FH3%3E%3CP%3E%3CEM%3EMy%20concern%20is%20this%20app%40sharepoint%20account%20may%20be%20in%20the%20process%20of%20being%20removed%2C%20which%20means%20our%20app%20only%20apps%20will%20no%20longer%20be%20able%20to%20write%20to%20the%20term%20store%20(which%20would%20obviously%20be%20a%20significant%20issue).%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EThanks%20for%20your%20contribution!%20Sharing%20is%20caring.%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1929510%22%20slang%3D%22de-DE%22%3ESubject%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1929510%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253044%22%20target%3D%22_blank%22%3E%40Quantumrunner%3C%2FA%3E%20we%20have%20the%20same%20issue%20within%20two%20tenants.%20The%20registry%20of%20a%20dummy%20app%20doesn't%20resolve%20the%20problem.%20So%20setting%20-DisableCustomAppAuthentication%20to%20false%20has%20no%20effect.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20another%20solution%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1942765%22%20slang%3D%22en-US%22%3ERe%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1942765%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20experiencing%20the%20same%20issue%20in%20a%20newly%20created%20tenant%20as%20well%2C%20app%40sharepoint%20won't%20resolve%20in%20the%20new%20or%20old%20term%20store%20experience%20and%20Mikael%20Svenson's%20workaround%20is%20not%20working%20unfortunately.%26nbsp%3B%20Anyone%3F%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1948422%22%20slang%3D%22en-US%22%3ERe%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948422%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F886345%22%20target%3D%22_blank%22%3E%40AnnieJohnson%3C%2FA%3E%26nbsp%3BWe%20have%20just%20retested%20this%20in%20a%20brand%20new%20O365%20Developer%20tenant%20and%20the%20same%20problem%20occurred.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20yes%20the%20workaround%20from%26nbsp%3B%3CSPAN%3EMikael%20Svenson'%20has%20%3CU%3Enot%3C%2FU%3E%20been%20working%20for%20this%20anymore%20too.%20Since%20this%20was%20a%20developer%20tenant%20we%20can%20not%20open%20a%20ticket%20there.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20anyone%20has%20this%20problem%20on%20a%20productive%20tenant%20please%20open%20a%20ticket%20and%20maybe%20get%20back%20here%20if%20you%20get%20any%20new%20status%20from%20Microsoft.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1948906%22%20slang%3D%22en-US%22%3ERe%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948906%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253044%22%20target%3D%22_blank%22%3E%40Quantumrunner%3C%2FA%3EI%20actually%20did%20open%20a%20support%20ticket%20and%20they%20essentially%20copy%2Fpasted%20the%20previous%20fix%20into%20an%20email%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3COL%3E%3CLI%3E%3CSPAN%3ECreate%20a%20new%20app%20with%20app-only%20permissions%20following%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fsecurity-apponly-azureacs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fsecurity-apponly-azureacs%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EConnect%20to%20PNP-Online%20using%20the%20article%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-pnp%2Fconnect-pnponline%3Fview%3Dsharepoint-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EConnect-PnPOnline%20(SharePointPnPPowerShell)%20%7C%20Microsoft%20Docs%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EPlease%20use%20the%20URL%26nbsp%3B%3CA%20title%3D%22Original%20URL%3A%20https%3A%2F%2Fmtspo20-admin.sharepoint.com%2F.%20Click%20or%20tap%20if%20you%20trust%20this%20link.%22%20href%3D%22https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fmtspo20-admin.sharepoint.com%252F%26amp%3Bdata%3D04%257C01%257Cajohnson%2540rightpoint.com%257Ca2ed100487454aabd69d08d8961140f3%257C5fbbce2ac3e64b5ea51f222674fdb44d%257C1%257C0%257C637424348142592384%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Dkt%252BGt7u5S9wEIK2EFq%252B2hqNScYDUkgGPvDBo%252BCCQcCc%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3Ehttps%3A%2F%2Fcompanyname-admin.sharepoint.com%2F%3C%2FA%3E%26nbsp%3Bto%20connect%20to%20PNP-Online%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EConnected%20to%20-admin%20and%20was%20able%20to%20resolve%20Get-PnPUser%20-Identity%20%22i%3A0i.t%7C00000003-0000-0ff1-ce00-000000000000%7Capp%40sharepoint%22%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EAdded%20i%3A0i.t%7C00000003-0000-0ff1-ce00-000000000000%7Capp%40sharepoint%20as%20a%20user%20in%20term%20store%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%3EThank%20you%20for%20being%20part%20of%20Microsoft%20Family.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20replied%20with%20the%20outputs%20of%20the%20powershell%20script%20showing%20that%20the%20app%40sharepoint%20principal%20does%20not%20resolve%20when%20connected%20to%20admin%2C%20but%20does%20resolve%20when%20connected%20to%20the%20root%20site.%26nbsp%3B%20Regardless%20the%20principal%20is%20not%20available%20to%20add%20in%20the%20term%20store.%26nbsp%3B%20I%20am%20awaiting%20their%20next%20response.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1952250%22%20slang%3D%22en-US%22%3ERe%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952250%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F886345%22%20target%3D%22_blank%22%3E%40AnnieJohnson%3C%2FA%3E%26nbsp%3BWhen%20we%20did%20the%20testing%20this%20week%20we%20added%20the%20SharePoint%20App%20with%20app%20only%20permissions%20to%20the%20Admin%20Site%20Collection%20(%3CA%20title%3D%22Original%20URL%3A%20https%3A%2F%2Fmtspo20-admin.sharepoint.com%2F.%20Click%20or%20tap%20if%20you%20trust%20this%20link.%22%20href%3D%22https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fmtspo20-admin.sharepoint.com%252F%26amp%3Bdata%3D04%257C01%257Cajohnson%2540rightpoint.com%257Ca2ed100487454aabd69d08d8961140f3%257C5fbbce2ac3e64b5ea51f222674fdb44d%257C1%257C0%257C637424348142592384%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Dkt%252BGt7u5S9wEIK2EFq%252B2hqNScYDUkgGPvDBo%252BCCQcCc%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3Ehttps%3A%2F%2Fcompanyname-admin.sharepoint.com%2F%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E)%20instead%20of%20the%20root%20site%20collection.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfterwards%20the%20user%20could%20be%20resolved%20in%20PowerShell%20by%20conncecting%20to%26nbsp%3B%3CA%20title%3D%22Original%20URL%3A%20https%3A%2F%2Fmtspo20-admin.sharepoint.com%2F.%20Click%20or%20tap%20if%20you%20trust%20this%20link.%22%20href%3D%22https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fmtspo20-admin.sharepoint.com%252F%26amp%3Bdata%3D04%257C01%257Cajohnson%2540rightpoint.com%257Ca2ed100487454aabd69d08d8961140f3%257C5fbbce2ac3e64b5ea51f222674fdb44d%257C1%257C0%257C637424348142592384%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Dkt%252BGt7u5S9wEIK2EFq%252B2hqNScYDUkgGPvDBo%252BCCQcCc%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3Ehttps%3A%2F%2Fcompanyname-admin.sharepoint.com%2F%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%20and%20setting%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EGet-PnPUser%20-Identity%20%22i%3A0i.t%7C00000003-0000-0ff1-ce00-000000000000%7Capp%40sharepoint%22.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20the%20user%20still%20did%20%3CU%3Enot%3C%2FU%3E%26nbsp%3Bshow%20up%26nbsp%3Bin%20the%20user%20selection%20on%20the%20modern%20or%20the%20classic%20TermStore%20Admin%20Page.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1953176%22%20slang%3D%22en-US%22%3ERe%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1953176%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253044%22%20target%3D%22_blank%22%3E%40Quantumrunner%3C%2FA%3E%26nbsp%3B%20Here%20is%20the%20latest%20from%20Microsoft%20support.%26nbsp%3B%20I%20answered%20some%20basic%20questions%20about%20my%20particular%20use%20case%20and%20am%20awaiting%20their%20next%20reply%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWe%20would%20like%20to%20inform%20you%20that%20t%3C%2FSPAN%3E%3CSPAN%3Ehe%20Account%20app%40sharepoint%20is%20related%20to%20the%20SharePoint%20Applications%20(Auditing%20logs%2FVirus%20check)%2C%20it%20is%20a%20system%20account%2C%20belongs%20to%20the%20SharePoint%20Farms%20infrastructure%2C%20it%20was%20created%20to%20run%20on%20all%20Site%20Collections%2FPersonal%20sites%20to%20collect%20auditing%20information.%20When%20the%20user%20provides%20some%20changes%20for%20his%20own%20Site%20Collection%2C%20or%20enables%20features%20or%20activates%20the%20site%20Auditing%20logs%2C%20his%20own%20account%20does%20not%20have%20the%20write%20permissions%20on%20the%20SharePoint%20Farm%20and%20this%20account%20it%20will%20be%20used%20to%20run%20and%20collect%20all%20the%20necessary%20information%20to%20be%20provided%20to%20the%20customer.%20Microsoft%20has%20set%20up%20a%20few%20security%20accounts%20to%20run%20in%20all%20Farms%2C%20in%20order%20for%20our%20customer%20to%20do%20some%20tasks%2C%20and%20get%20the%20required%20information.%20Also%20it%20is%20necessary%20for%20user%20security%2C%20for%20these%20accounts%20to%20always%20track%20the%20Site%20Collection%20searching%20for%20viruses%20that%20can%20be%20uploaded%20into%20SharePoint.%20Microsoft%20will%20not%20change%20that%2C%20all%20Farms%20have%20the%20same%20configuration%20and%20this%20same%20system%20account%2C%20and%20all%20Site%20Collections%20will%20use%20this%20account%20if%20they%20need%20to%20do%20it.%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3EWhat%20Activities%20Should%20the%20customer%20expect%20from%20this%20account%3F%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFrom%20the%20Customer%20side%20nothing%20will%20be%20expected%2C%20everything%20will%20be%20running%20normal%2C%20as%20should%20be%2C%20this%20account%20will%20not%20affect%20the%20Site%20Collection%20functionality%20or%20personal%20site%2C%20all%20the%20information%20on%20the%20Site%20Collection%20will%20be%20secure%2C%20and%20only%20the%20Site%20Owners%20and%20all%20people%20who%20have%20permissions%20to%20the%20site%20can%20see%20the%20information%20inside%20and%20share%20the%20same.%20This%20account%20can%20be%20visible%20if%20we%20create%20an%20auditing%20for%20our%20Site%20Collection%20or%20personal%20site.%20All%20private%20information%20is%20safe%20and%2C%20nothing%20will%20be%20collected%2C%20as%20we%20said%20before%20this%20account%20only%20gets%20information%20for%20auditing%20and%20looks%20for%20possible%20virus%20attack.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2029181%22%20slang%3D%22en-US%22%3ERe%3A%20The%20app%40sharepoint%20principal%20is%20not%20resolving%20in%20newly%20created%20tenants%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2029181%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F886345%22%20target%3D%22_blank%22%3E%40AnnieJohnson%3C%2FA%3E%26nbsp%3BDid%20you%20get%20any%20more%20updates%20from%20the%20Microsoft%20Support%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20did%20some%20more%20testing.%20We%20created%20an%20%3CSTRONG%3EAzure%20AD%20Application%3C%2FSTRONG%3E%20with%20%3CSTRONG%3E%3CEM%3ESite.Read.All%20Application%3C%2FEM%3E%3C%2FSTRONG%3E%20permission%20and%20connected%20to%20the%20%3CSTRONG%3ESharePoint%20Central%20administration%3C%2FSTRONG%3E%20(%3CSPAN%3E(%3C%2FSPAN%3E%3CA%20title%3D%22Original%20URL%3A%20https%3A%2F%2Fmtspo20-admin.sharepoint.com%2F.%20Click%20or%20tap%20if%20you%20trust%20this%20link.%22%20href%3D%22https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fmtspo20-admin.sharepoint.com%252F%26amp%3Bdata%3D04%257C01%257Cajohnson%2540rightpoint.com%257Ca2ed100487454aabd69d08d8961140f3%257C5fbbce2ac3e64b5ea51f222674fdb44d%257C1%257C0%257C637424348142592384%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Dkt%252BGt7u5S9wEIK2EFq%252B2hqNScYDUkgGPvDBo%252BCCQcCc%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3Ehttps%3A%2F%2Fcompanyname-admin.sharepoint.com%2F)%3C%2FA%3E%26nbsp%3Bsite%20using%20SharePoint%20Client%20API%20(%3CSTRONG%3ECSOM%3C%2FSTRONG%3E).%20Afterwards%20the%20user%20was%20available.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20sure%20why%20this%20did%20not%20work%20when%20using%20the%20PNP%20PowerShell%20library%20and%20a%20SharePoint%20App%20(instead%20of%20the%20Azure%20AD%20App).%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

This is a followup thread to a github post (https://github.com/SharePoint/sp-dev-docs/issues/6155) which has been closed. It has been asked to reopen this topic here.

Thanks to the original creator Michael Jensen for opening this topic in GitHub.

 

We experienced the same problems in three new developer Tenants we have created in the last two weeks.

Describe the bug

In the elevated privileges page there is an important tip about adding the app@sharepoint user as a term store administrator if you need app-only write access to the term store (I believe @wobba originally wrote about this in a post a couple of years ago).

Unfortunately we were not able to add the app@sharepoint user to the term store administrators group in a couple of tenants that we created in the past couple of days - that account will not resolve in the old and new term store UI (as shown in the following screenshots)

Old page
termstore3.png

 

 

New page

 

 

It appears this issue is not isolated to the term store, as that user would not resolve in other user management areas (i.e. site collection admin, etc.)

What made this even more confusing was I was able to get the app@sharepoint account to resolve in one of our newly created tenants this afternoon, but that only worked via the old term store UI - the other tenant we created yesterday is still not able to resolve that account.

I also tried adding the full username i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint and experienced the same result as trying to simply add app@sharepoint.

Steps to reproduce

  1. Create a new tenant
  2. Go to the term store in the SharePoint admin center (you can try this in both the old and new UI)
  3. Add app@sharepoint to the term store administrators and try to resolve that account (and/or save your change)
  4. See the error saying no match found in the old UI (or no error, but no user resolution in the new UI)

Expected behavior

I expect the app@sharepoint account to resolve, so we can continue to use app only principals to write to the term store.

Environment details (development & target environment)

  • Your Developer Environment: N/A
  • Target Environment: SharePoint Online
  • Framework: N/A
  • Browser(s): Chrome v84
  • Tooling: N/A
  • Additional details: N/A

Additional context

My concern is this app@sharepoint account may be in the process of being removed, which means our app only apps will no longer be able to write to the term store (which would obviously be a significant issue).

Thanks for your contribution! Sharing is caring.

7 Replies

@Quantumrunner we have the same Issue within two tenants. The registry of a dummy app doesn't resolve the problem. Also setting -DisableCustomAppAuthentication to false has no effect.

 

Has anyone another solution?

I am experiencing the same issue in a newly created tenant as well, app@sharepoint won't resolve in the new or old term store experience and Mikael Svenson's workaround is not working unfortunately.  Anyone?  

@AnnieJohnson We have just retested this in a brand new O365 Developer tenant and the same problem occurred.

 

And yes the workaround from Mikael Svenson' has not been working for this anymore too. Since this was a developer tenant we can not open a ticket there.

 

If anyone has this problem on a productive tenant please open a ticket and maybe get back here if you get any new status from Microsoft.

@QuantumrunnerI actually did open a support ticket and they essentially copy/pasted the previous fix into an email: 

 

  1. Create a new app with app-only permissions following https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs
  2. Connect to PNP-Online using the article - Connect-PnPOnline (SharePointPnPPowerShell) | Microsoft Docs 
  3. Please use the URL https://companyname-admin.sharepoint.com/ to connect to PNP-Online
  4. Connected to -admin and was able to resolve Get-PnPUser -Identity "i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint"
  5. Added i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint as a user in term store
 

Thank you for being part of Microsoft Family.

 

I replied with the outputs of the powershell script showing that the app@sharepoint principal does not resolve when connected to admin, but does resolve when connected to the root site.  Regardless the principal is not available to add in the term store.  I am awaiting their next response.

@AnnieJohnson When we did the testing this week we added the SharePoint App with app only permissions to the Admin Site Collection (https://companyname-admin.sharepoint.com/ ) instead of the root site collection.

 

Afterwards the user could be resolved in PowerShell by conncecting to https://companyname-admin.sharepoint.com/  and setting Get-PnPUser -Identity "i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint".

 

But the user still did not show up in the user selection on the modern or the classic TermStore Admin Page.

@Quantumrunner  Here is the latest from Microsoft support.  I answered some basic questions about my particular use case and am awaiting their next reply:

 

We would like to inform you that the Account app@sharepoint is related to the SharePoint Applications (Auditing logs/Virus check), it is a system account, belongs to the SharePoint Farms infrastructure, it was created to run on all Site Collections/Personal sites to collect auditing information. When the user provides some changes for his own Site Collection, or enables features or activates the site Auditing logs, his own account does not have the write permissions on the SharePoint Farm and this account it will be used to run and collect all the necessary information to be provided to the customer. Microsoft has set up a few security accounts to run in all Farms, in order for our customer to do some tasks, and get the required information. Also it is necessary for user security, for these accounts to always track the Site Collection searching for viruses that can be uploaded into SharePoint. Microsoft will not change that, all Farms have the same configuration and this same system account, and all Site Collections will use this account if they need to do it.

 

What Activities Should the customer expect from this account?

From the Customer side nothing will be expected, everything will be running normal, as should be, this account will not affect the Site Collection functionality or personal site, all the information on the Site Collection will be secure, and only the Site Owners and all people who have permissions to the site can see the information inside and share the same. This account can be visible if we create an auditing for our Site Collection or personal site. All private information is safe and, nothing will be collected, as we said before this account only gets information for auditing and looks for possible virus attack.

@AnnieJohnson Did you get any more updates from the Microsoft Support?

 

We did some more testing. We created an Azure AD Application with Site.Read.All Application permission and connected to the SharePoint Central administration ((https://companyname-admin.sharepoint.com/) site using SharePoint Client API (CSOM). Afterwards the user was available.

 

I'm not sure why this did not work when using the PNP PowerShell library and a SharePoint App (instead of the Azure AD App).