Getting 403 Forbidden for https://eu.api.security.microsoft.com/api/machines

Hikmatyar Hasan 0 Reputation points
2024-11-30T18:42:55.34+00:00

When I try to access https://eu.api.security.microsoft.com/api/machines -- I'm getting

{"error":{"code":"Unauthorized","message":"Unauthorized request - reason of failure: Account mode is inactive","target":"|ec5bb15d-412e22f0fa8c3a5a."}}

I have double checked the permissions of the app i have created in order to make these api calls so I don't think it's a permissions issue.

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,436 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.