App only credentials in SP online

Copper Contributor


Previously, when utilizing app-only credentials to access SharePoint online, we followed the method of generating client ID and client secret through /appregnew.aspx and granting access to the app via /appinv.aspx at the individual library/subsites/site collection level. However, it appears that Microsoft is phasing out this process.

Refer to this link for more information.

Upon reviewing the new process outlined here, it seems that there is no option to specify the scope of the app. It appears to be a choice between reading all sites or having no access. Is it accurate that we can't generate these credentials for a specific scope?

0 Replies