{"id":7511,"date":"2023-11-30T01:03:42","date_gmt":"2023-11-30T01:03:42","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=7511"},"modified":"2024-06-14T04:01:29","modified_gmt":"2024-06-14T04:01:29","slug":"powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later","title":{"rendered":"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Fixed by Microsoft<\/strong> <strong>Now<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/06\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"870\" height=\"194\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/06\/image-7.png\" alt=\"\" class=\"wp-image-8007 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/06\/image-7.png 870w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/06\/image-7-300x67.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/06\/image-7-768x171.png 768w\" sizes=\"auto, (max-width: 870px) 100vw, 870px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Powershell<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){\nInstall-Module Microsoft.Graph.Authentication\n}\n\nif(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions   -ListAvailable)){\nInstall-Module Microsoft.Graph.Beta.DeviceManagement.Actions\n}\n  \n# Import the necessary module  \nImport-Module Microsoft.Graph.Authentication  \nImport-Module Microsoft.Graph.Beta.DeviceManagement.Actions  \n  \n# Authenticate with an MFA enabled account  \nConnect-MgGraph -Scopes \"DeviceManagementConfiguration.ReadWrite.All\"  \n\n\n \n#get all the profile ids\n# Define the initial URL for the query  \n$url = \"https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/\"  \n\n\t# Use Invoke-MgGraphRequest to send a GET request to the specified URL and get the response  \n\t$response = Invoke-MgGraphRequest -Uri $url -Method GET  \n\n\n\n\t\tforeach ($driverprofile in $response.value) {  \n\t\t\t\t# Get the id for the current item  \n\t\t\t\t$driverprofileid = $driverprofile.id  \n\n\t\t\t# Define the initial URL for the query  \n\t\t\t$url = \"https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/$driverprofileid\/driverInventories?$filter=category+eq+'other'+and+approvalstatus+eq+'needsreview'\"  \n\t\t\t  \n\n\t\t\tdo {  \n\t\t\t\t# Use Invoke-MgGraphRequest to send a GET request to the specified URL and get the response  \n\t\t\t\t$response2 = Invoke-MgGraphRequest -Uri $url -Method GET  \n\t\t\t  \n\t\t\t\t# Loop through each item in the 'value' property of the response  \n\t\t\t\tforeach ($item in $response2.value) {  \n\t\t\t\t\t# Get the id for the current item  \n\t\t\t\t\t$id = $item.id  \n\t\t\t  \n\t\t\t\t\t# Define the parameters for the Invoke-MgBetaExecuteDeviceManagementWindowsDriverUpdateProfileAction command  \n\t\t\t\t\t$params = @{  \n\t\t\t\t\t\tactionName = \"Approve\"  \n\t\t\t\t\t\tdriverIds = @(  \n\t\t\t\t\t\t\t$id  \n\t\t\t\t\t\t)  \n\t\t\t\t\t\t#deploymentDate = [System.DateTime]::Parse(\"2023-11-30T23:00:00.000Z\")  \n\t\t\t\t\t\tdeploymentDate = Get-Date\n\t\t\t\t\t}  \n\t\t\t  \n\t\t\t\t\t# Invoke the command with the specified parameters  \n\t\t\t\t\tInvoke-MgBetaExecuteDeviceManagementWindowsDriverUpdateProfileAction -WindowsDriverUpdateProfileId $driverprofileid -BodyParameter $params  \n\t\t\t\t}  \n\t\t\t  \n\t\t\t\t# Get the next page link  \n\t\t\t\t$url = $response2.'@odata.nextLink'  \n\t\t\t} while ($null -ne $url) # Continue as long as there's a next page link\n\n\t\t}\n#Disconnect Graph \nDisconnect-Graph<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fixed by Microsoft Now Powershell<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7511","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes &quot;DeviceManagementConfiguration.ReadWrite.All&quot; #get all the profile ids # Define the initial URL for the query $url = &quot;https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/&quot; #\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes &quot;DeviceManagementConfiguration.ReadWrite.All&quot; #get all the profile ids # Define the initial URL for the query $url = &quot;https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/&quot; #\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-11-30T01:03:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-06-14T04:01:29+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes &quot;DeviceManagementConfiguration.ReadWrite.All&quot; #get all the profile ids # Define the initial URL for the query $url = &quot;https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/&quot; #\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#article\",\"name\":\"Powershell script to Bulk Approve \\u201cOther Drivers\\u201d in Intune \\u201cDriver updates for Windows 10 and later\\u201d | Welcome to Pariswells.com\",\"headline\":\"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/image-7.png\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later\\\/#articleImage\",\"width\":870,\"height\":194},\"datePublished\":\"2023-11-30T01:03:42+00:00\",\"dateModified\":\"2024-06-14T04:01:29+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#webpage\"},\"articleSection\":\"Research\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#listItem\",\"name\":\"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#listItem\",\"position\":3,\"name\":\"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later\",\"name\":\"Powershell script to Bulk Approve \\u201cOther Drivers\\u201d in Intune \\u201cDriver updates for Windows 10 and later\\u201d | Welcome to Pariswells.com\",\"description\":\"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes \\\"DeviceManagementConfiguration.ReadWrite.All\\\" #get all the profile ids # Define the initial URL for the query $url = \\\"https:\\\/\\\/graph.microsoft.com\\\/beta\\\/deviceManagement\\\/windowsDriverUpdateProfiles\\\/\\\" #\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2023-11-30T01:03:42+00:00\",\"dateModified\":\"2024-06-14T04:01:29+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com","description":"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes \"DeviceManagementConfiguration.ReadWrite.All\" #get all the profile ids # Define the initial URL for the query $url = \"https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/\" #","canonical_url":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#article","name":"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com","headline":"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/06\/image-7.png","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later\/#articleImage","width":870,"height":194},"datePublished":"2023-11-30T01:03:42+00:00","dateModified":"2024-06-14T04:01:29+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#webpage"},"articleSection":"Research"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#listItem","name":"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#listItem","position":3,"name":"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#webpage","url":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later","name":"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com","description":"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes \"DeviceManagementConfiguration.ReadWrite.All\" #get all the profile ids # Define the initial URL for the query $url = \"https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/\" #","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2023-11-30T01:03:42+00:00","dateModified":"2024-06-14T04:01:29+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com","og:description":"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes &quot;DeviceManagementConfiguration.ReadWrite.All&quot; #get all the profile ids # Define the initial URL for the query $url = &quot;https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/&quot; #","og:url":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later","article:published_time":"2023-11-30T01:03:42+00:00","article:modified_time":"2024-06-14T04:01:29+00:00","twitter:card":"summary","twitter:title":"Powershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d | Welcome to Pariswells.com","twitter:description":"Fixed by Microsoft Now Powershell if(-not (Get-Module Microsoft.Graph.Authentication -ListAvailable)){ Install-Module Microsoft.Graph.Authentication } if(-not (Get-Module Microsoft.Graph.Beta.DeviceManagement.Actions -ListAvailable)){ Install-Module Microsoft.Graph.Beta.DeviceManagement.Actions } # Import the necessary module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Beta.DeviceManagement.Actions # Authenticate with an MFA enabled account Connect-MgGraph -Scopes &quot;DeviceManagementConfiguration.ReadWrite.All&quot; #get all the profile ids # Define the initial URL for the query $url = &quot;https:\/\/graph.microsoft.com\/beta\/deviceManagement\/windowsDriverUpdateProfiles\/&quot; #"},"aioseo_meta_data":{"post_id":"7511","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-11-30 00:57:43","updated":"2024-06-14 04:08:43","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPowershell script to Bulk Approve \u201cOther Drivers\u201d in Intune \u201cDriver updates for Windows 10 and later\u201d\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"Powershell script to Bulk Approve &#8220;Other Drivers&#8221; in Intune &#8220;Driver updates for Windows 10 and later&#8221;","link":"https:\/\/pariswells.com\/blog\/research\/powershell-script-to-bulk-approve-other-drivers-in-intune-driver-updates-for-windows-10-and-later"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=7511"}],"version-history":[{"count":4,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7511\/revisions"}],"predecessor-version":[{"id":8009,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7511\/revisions\/8009"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=7511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=7511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=7511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}