Hi @Hardik Purohit,
Thank you for posting in this community.
Are you using this? Granting access using SharePoint App-Only.
If so, the ACS app-only access token is no longer supported in the new SharePoint Online tenant.
But we can change the behavior by running 'set-spotenant -DisableCustomAppAuthentication $false' (needs the latest SharePoint admin PowerShell).
If you're not using SharePoint Online, you'll need to check that your permission XML has been granted enough permissions.
For more information about scopes and permissions in the AppPermissionRequests XML, see the following articles:
Types of add-in permissions and permission scopes
Differences between add-in permission rights and user rights
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.