Hello @asdfasfawfwfwf
Use the Azure Monitor Activity Log API, https://learn.microsoft.com/en-us/rest/api/monitor/activity-logs/list?view=rest-monitor-2015-04-01&tabs=HTTP, to pull this information. Since you tagged App Serivce, I'm assuming you want to know the user(s) that have had activity on a specific app service resource. For that, you can append the resource information to the $select
query parameter. Another way is https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{appname}/providers/microsoft.insights/eventtypes/management/values?api-version=2015-04-01&$filter=eventTimestamp ge '2022-01-01T00:00:00Z' and eventTimestamp le '2022-01-31T23:59:59Z'
Just make sure you pass a valid bearer token in the in Authorization HTTP header.