Open cpiescik opened 3 weeks ago
Hi @cpiescik, Could you please try running.
get-azroledefinition | where {$_.name -like "Help*"} | select name | sort Name
Hi @cpiescik, Could you please try running.
get-azroledefinition | where {$_.name -like "Help*"} | select name | sort Name
I tried that and it returned nothing. I also tried where {$_.name -like "Help"} and got the same result. I have verified the role exists through the Azure Portal though.
@cpiescik Can the expected role be fetched by get-azroledefinition -Name "<role name>"
?
Description
It's entirely possible that this is just user error on my part, but it seems like odd behavior to me. My apologies if this is something dumb. Basically when I run:
get-azroledefinition helpdesk*
I get an error back that states the following:
WARNING: No role definitions were found with those conditions. WARNING: If the role was created recently keep in mind there's a slight delay between creation and public view. WARNING: Please try again later.
If I run:
get-azroledefinition | where {$_.name -like "Help"} | select name | sort Name
I get a blank return.
I have verified that I am in the correct subscription and tenant and that HelpDesk Administrator is a valid built-in role. Thanks in advance for any help you can provide!
Script or Debug output
No response
Environment data
No response
Module versions
7.1.0
Error output
No response