Azure Graph Query for Expiring certificates or secrets in App Registration
"Tune In" - 提供情绪音乐疗法 #生活技巧# #情绪调节技巧# #情绪调节APP#
Hello @H M, Abhilash , querying Azure AD resources such as app registrations or their certificates is not possible from Resource Graph Explorer. As stated by Vasil Michev, you will have to use Microsoft Graph for that. Follows a sample PowerShell script to list expired certs:
Connect-MgGraph -Scopes "Application.Read.All" Get-MgApplication -All -PageSize 999 | Select-Object -Property @{Label = "Application Object Id"; Expression = { $_.Id } }, ` @{Label = "Application App Id"; Expression = { $_.AppId } } -ExpandProperty keyCredentials | Where-Object -Property Count -LT 0 | Where-Object -Property EndDateTime -lt (Get-Date) | Select-Object -Property KeyId, EndDateTime, "Application Object Id", "Application App Id"
For more information about resources supported by Resource Graph Explorer take a look to Azure Resource Graph table and resource type reference.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.
网址:Azure Graph Query for Expiring certificates or secrets in App Registration https://klqsh.com/news/view/147856
相关内容
Quickstart: Run Resource Graph query using Azure CLIMicrosoft Azure Get Storage Account Information using Resource Graph
What does QUERY mean?
Query vs. Question
10 Best Remote Training Software for Enterprises (2024 Update)
10 Ways to Get Help in Windows 11
Tashin acquires properties for RM43.5mil in Penang
How To Get Help In Windows 11 (All Methods)
MSFT E0500 bill with no invoice
Traduction query en Français