-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationSetting doesn't work and IntueAppConfigurationPolicy can't support 'Settings Catalogue' settings as a result. #5672
Comments
Have added a number of missing properties for the resource and added test/create support for 'Applications' Unfortunately unable to fix 'update' due to what looks like an MgGraph issue. Added a verbose message to the code to warn the user.. reported here: microsoft#5671 and here: https://feedbackportal.microsoft.com/feedback/idea/c0940cc8-d7da-ef11-95f6-0022484d7a88 Similarly the module cannot support the 'Application Catalogue Settings' either. I can find them in Graph explorer but the related cmdlet doesn't work and cannot retrieve using invoke-mgGraph either. Issue reported here https://feedbackportal.microsoft.com/feedback/idea/f77feb49-11dc-ef11-95f6-0022484d7a88 and here microsoft#5672
@dannyKBjj I just opened a Microsoft Premier support ticket with my company. Will keep you posted what the result is. |
That's amazing, thanks! |
@dannyKBjj I got the following response after a couple of calls and mails: Issue: Microsoft Graph / Intune - Cannot fetch app configuration policies with PowerShell The issue lies in the way the communication from PowerShell (external request) vs the Intune portal (integrated request) is done. The external request is load-balanced and passes through dlp configurations, whereas the integrated requests are forwarded straight to the service. There is an issue with how this is all balanced and will be addressed until next month. So we have to stay put for the moment and wait until further notice. |
Thanks for the info! |
Description of the issue
Trying to fix and update IntueAppConfigurationPolicy, but cannot retrieve
Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationSettingdoesn't work.
You can run the following code as a test...
<#
this will retrieve the policy. Strangley using the -TargetedManagedAppConfigurationId seems to also cause an error, so used 'Where-Object' to get my policy....
#>
$settingTest = Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -ExpandProperty "Settings" | Where-Object {$_.Id -eq "{myMobileAppConfiguration-ID}"}
<#
I got this command from graph explorer https://graph.microsoft.com/beta/deviceAppManagement/targetedManagedAppConfigurations/{myMobileAppConfiguration-ID}/settings
#>
$test = Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationSetting -TargetedManagedAppConfigurationId $settingTest.Id
Expected: an object is returned that contains the information.
Actual Result: Instead of retrieving the information I get the error below. I've also tried the URI with invoke-mgGraph and get a similar error.... on another note, I'd expect Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -ExpandProperty "Settings" to actually retrieve something, but the object's 'settings' property remains $null
Microsoft 365 DSC Version
1.25.122.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: