Forum Discussion

mhmmdrn's avatar
mhmmdrn
Copper Contributor
Mar 16, 2023
Solved

Defender for Cloud Apps REST API - Authentication

Hi Everyone, I am trying to automate deployment of policies on MDCAS with Powershell and for testing envrironment i have a test tenant which includes Defender for Cloud Apps. I have created a API ...
  • Keith_Fleming's avatar
    Keith_Fleming
    Mar 21, 2023

    Hi mhmmdrn,

     

    The reason you’re seeing the errors in this case is because these are not supported endpoints.


    While there are several undocumented endpoints you can find through various methods they are reserved for the internal service and not exposed to an app registration permissions. This is implemented as part of the service so adding RBAC permissions or roles won’t correct the error here.