Get Intune Device Discovered Apps and Search for Power BI (Or Any App Name) & Send an Email Report #77
JackTNeely
started this conversation in
Samples
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Authored by Jack T. Neely, 06/27/23
PowerShell script to retrieve Discovered apps on Intune-enrolled Windows devices and filter for apps with 'powerbi' in the name.
The script will send an email with a CSV report attached.
This script uses an Azure AD app registration with Graph API scopes consented. However, Connect-MgGraph can be used instead.
The $Filter variable filters on Windows devices and can be modified.
The $MatchingApps variable filters by app name. This can also be modified.
This script utilizes pagination, retries with exponential backoff, logging, and error handling.
This script can be deployed as an Azure Function with the use of a Managed Identity.
Beta Was this translation helpful? Give feedback.
All reactions