MSEndpointMgr / IntuneWin32App

Provides a set of functions to manage all aspects of Win32 apps in Microsoft Intune.
MIT License
345 stars 88 forks source link

Allow Supersedence and Dependency with "Add-IntuneWin32AppSupersedence" #80

Closed Cyanic-Cloud closed 1 year ago

Cyanic-Cloud commented 1 year ago

Previously setting both supersedence and a dependancy on an app in Intune was not allowed, but you can now set this in the Intune GUI and through Graph, but the IntuneWin21App module has not been updated to reflect this

Image below of being able to do it through the GUI and Graph payload performing the "updateRelationship" POST request.

image

This is the same for both Add-IntuneWin32AppDependency & Add-IntuneWin32AppSupersedence

https://github.com/MSEndpointMgr/IntuneWin32App/blob/84b3d83a7e8454c3f27909017a67cf917e556747/Public/Add-IntuneWin32AppDependency.ps1#L64

https://github.com/MSEndpointMgr/IntuneWin32App/blob/c018c8d68e701de614b26156d03d4963541e7326/Public/Add-IntuneWin32AppSupersedence.ps1#L65

offprem-cloud commented 1 year ago

Having the same problem here.. @NickolajA some help here would be greatly appreciated

NickolajA commented 1 year ago

You're correct, this should be updated. I've assigned it to release 1.4.1.

Cyanic-Cloud commented 1 year ago

Thanks @NickolajA much appreciated

NickolajA commented 1 year ago

This will be fixed in 1.4.2 thanks to PR #105 that now included.