-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi, I have been using "AST Write Batch PS5.ps1" successfully, however it is throwing following error now.
PS C:\Users\administrator.CORE> $response = Invoke-WebRequest https://graph.microsoft.com/beta/security/attacksimulation/simulations -Method 'POST' -Headers $headerParams -Body $requestBody -TimeoutSec 120 Invoke-WebRequest: {"error":{"code":"UnknownError","message":"{\"Code\":400,\"Message\":\"Bad request\",\"Target\":null,\"Details\":[{\"Code\":400,\"Message\":\"Parameter LandingPage is not be null\",\"Target\":null,\"Details\":null,\"InnerError\":null},{\"Code\":400,\"Message\":\"Parameter landingPageId is not valid\",\"Target\":null,\"Details\":null,\"InnerError\":null},{\"Code\":400,\"Message\":\"Parameter LoginPage is not be null\",\"Target\":null,\"Details\":null,\"InnerError\":null},{\"Code\":400,\"Message\":\"Parameter loginPageId is not valid\",\"Target\":null,\"Details\":null,\"InnerError\":null}],\"InnerError\":null}","innerError":{"date":"2024-09-10T13:10:19","request-id":"af2c126b-b226-4ac4-8d30-152cf1e39c40","client-request-id":"af2c126b-b226-4ac4-8d30-152cf1e39c40"}}} PS C:\Users\administrator.CORE>
Any help on this would be much appreciated, thank you.
