Thanks for you reply! I already looked at that solution indeed, but as far as i know it is not possible to call Powershell through an API Request on a regular basis. E.G. If i create an automation flow which should run every night to retrieve the AD Accounts i cannot make a request to Powershell. With Powershell you can only make API Calls to another endpoint.
Or is this wrong? If so, please let me know!