Hi @Aniruddha Aditya ,
From the documentation, the error message for the AF20023 is :
The subscription was disabled by {0}.
- {0} = "a tenant admin" or "a service admin"
You could check your subscriptions with the endpoint:
Invoke-WebRequest -Headers $headerParams -Uri "$resource/api/v1.0/$tenantGUID/activity/feed/subscriptions/list"
Check if the status for the Audit.SharePoint content type is enabled.
Also, you could try to create a new subscription: https://learn.microsoft.com/en-us/office/office-365-management-api/troubleshooting-the-office-365-management-activity-api#creating-a-new-subscription
Invoke-WebRequest -Method Post -Headers $headerParams -Uri "https://<YOUR_API_ENDPOINT>/api/v1.0/$tenantGUID/activity/feed/subscriptions/start?contentType=Audit.SharePoint"
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.