This is not supported.
You can use PowerShell to retrieve other information about Wi-Fi profiles configured in Intune, such as profile names, SSIDs, authentication methods, etc., using the Intune PowerShell module. This module allows you to manage various aspects of Intune configuration, including device profiles.
To interact with Intune via PowerShell, you would typically install and import the Microsoft.Graph.Intune module, authenticate with your Intune tenant, and then use cmdlets like Get-IntuneManagedDevice and Get-IntuneManagedDeviceConfiguration to retrieve information about managed devices and configurations, including Wi-Fi profiles.
Here's a basic example of how you can use PowerShell to retrieve Wi-Fi profile information from Intune:
# Install the Intune PowerShell module
Install-Module -Name Microsoft.Graph.Intune
# Import the module
Import-Module Microsoft.Graph.Intune
# Connect to Intune (you will be prompted to authenticate)
Connect-MSGraph
# Get Wi-Fi profiles
$wifiProfiles = Get-IntuneManagedDeviceWiFiConfiguration -Filter "platform eq 'windows'"
# Output Wi-Fi profile information
$wifiProfiles | Select-Object -Property DisplayName, SSID, AuthenticationMethod, EapType
This script will retrieve and display basic information about Wi-Fi profiles configured in Intune for Windows devices. However, it won't include sensitive information like passwords.
hth
Marcin