This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Getting login pages with filter "source eq 'global'" results in error #753
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
I took the following code from the API documentation:
Expected behavior
The function
await graph_client.security.attack_simulation.login_pages.get(...)
should return all login pages.How to reproduce
Minimal working example:
SDK Version
1.4.0
Latest version known to work for scenario above?
No response
Known Workarounds
A workaround is to just write a get request with another library. But that should be done by this SDK, if it would work...
Debug output
Click to expand log
Configuration
I think that problem is not specific to this configuration.
Other information
Taking the same code (minimal working example) and only changing the filter from
filter="source eq 'global'"
tofilter="source eq 'tenant'"
, the SDK call works as expected.The error cause seems to be here:
Copied source code:
The member
Global_
seems to cause the problem because of the trailing_
. I don't quite understand, why this members needs the trailing_
and would be happy to learn more about that.The text was updated successfully, but these errors were encountered: