OK so I have now spent hours trying to figure this out on my own with research but cannot seem to figure out what I'm doing wrong. I have a VBA program to call MS Graph API and find a specific folder id then use that id to create a share link and put it into my Access DB. I have my App-only Auth token working and all my permissions set in Azure AD. I have reviewed every post I could find on the subject and nothing has helped. from what I understand I am following the correct syntax and my folder does exist, but I still get the 404 error. Here is my code.
strPathProj = "https://graph.microsoft.com/v1.0/users/{user-id}/drive/root:/path-to-folder/
Any help will be much appreciated.