question

MaruMadrelejos-4594 avatar image
0 Votes"
MaruMadrelejos-4594 asked MichaelHan-MSFT edited

Azure AD Application Permission for SharePoint Term store

Hi everyone,

Sharepoint Application Permission only provides TermStore.ReadWrite.All which only allows the app to write enterprise managed metadata and to read basic site info without a signed in user.

Since edit/update isnt an option in here is there any way where I can edit a term in term store using an application permission?

(A delegated permission isnt an option for me since Im creating an azure webjob so there should be no user login required)

MS Graph API has an Application Permission that can edit terms, can anyone give me a documentation/sample .NET code on how to consume it?


Thank you all !

office-sharepoint-onlinesharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sadomovalex avatar image
0 Votes"
sadomovalex answered

TermStore.ReadWrite.All app permission allows also to edit existing terms. There are 2 Sharepoint app permissions available for working with term stores:
112639-2021-07-07-19-15-53.png

With TermStore.Read.All you may only read managed metadata, with TermStore.ReadWrite.All you may both read and write (including edit/update).



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered MichaelHan-MSFT commented

Hi @MaruMadrelejos-4594

Sharepoint Application Permission TermStore.ReadWrite.All allows th app to edit/update operations, you'll need to explicitly add app@sharepoint identity as a Term Store Administrator in the Taxonomy Term Store administrative user interface. This grants the app-only identity needed permissions for write operations.

112774-image.png

I have answered the similar question here: https://docs.microsoft.com/en-us/answers/questions/456125/issue-deleting-terms-from-term-store.html



If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (49.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MaruMadrelejos-4594
How are things going? Is there any update on your issue?
I am willing to hear from you. If an Answer is helpful, please click "Accept Answer" and upvote it:)

0 Votes 0 ·