Hi @Wei Zhang ,
No, it's not supported to set up a notification for a specific SharePoint document library folder using driveitem. You would get this error when trying to create the subscription for the folder diveItem:
And according to the documentation: https://video2.skills-academy.com/en-us/graph/api/resources/webhooks?view=graph-rest-1.0
Only driveItem on OneDrive for Business is supported to set up notifications. The supported resource paths are only:
/drives/{id}/root
/users/{id}/drive/root
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.