nccgroup / azucar

Security auditing tool for Azure environments
GNU Affero General Public License v3.0
564 stars 112 forks source link

[Exception][New-WebRequest][169]:The remote server returned an error: (400) Bad Request. #6

Closed webframp closed 5 years ago

webframp commented 6 years ago

I'm seeing a lot of 400 Bad Request errors, is this expected? Any pointers how to debug?

screen shot 2018-09-07 at 17 00 19
timothyleung1 commented 5 years ago

same here

timothyleung1 commented 5 years ago

I think im getting an error because the $ObjectDisplayName is empty screen shot 2018-12-27 at 3 29 18 pm

Most likely its because your account do not have access privielge and try to read it out. Since you cant read it, the API call will be malformed, and getting 400 bad request.

silverhack commented 5 years ago

Hi all, Agree with @timothyleung1 Some of the Azure API has a vague documentation. You can receive these errors if for example you are attempting to access to an empty object.

I'm still working on that ;)