Replies: 2 comments
-
You know, it may be the query as I don't think it's working at all (even without -usetenantscope). I just assumed it was working before because it didn't error but looks like I get 0 results either way. I'm verifying. If this is the case, apologies for post. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Confirmed. The issue is with the query. Now to figure out why this query does not work as it does in Graph Explorer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my first time trying to use Search-AzGraph but I'm having difficulty. This command fails unless I first issue Set-AzContext. Not sure why that is as I've already selected my context upon Connect-AzAccount. Once I set the context again, the query returns results.
I found this cmdlet has a -UseTenantScope parameter. Thinking this would be the solution as I do not want to have to change contexts, I tried it, but when I use this parameter, no results are returned at all. I'm not sure what's going on here. Can anyone help?
I used the debug parameter and this is what I got (redacted personal info).
Beta Was this translation helpful? Give feedback.
All reactions