I've been playing around with the macOS_Application_PKG_Add.ps1 skript and i can successfully upload most of my packages to Intune, but it seems that every pkg bigger than 4gb seems to end in an error.
I already changed [UInt32]$BlockSizeMB = 1 to [Int64]$BlockSizeMB = 1 to get the script start to upload these big files in the first place, but the Update-MgBetaDeviceAppManagementMobileApp module seems not to work with these large files:
CategoryInfo : InvalidOperation: ({ MobileAppId =...raphMobileApp }:<>f__AnonymousType153`3) [Update-MgBetaDe...obileApp_Update], Exception
FullyQualifiedErrorId : BadRequest,Microsoft.Graph.Beta.PowerShell.Cmdlets.UpdateMgBetaDeviceAppManagementMobileApp_Update
Do you have any idea to solve this?
Thanks! :)
Falco
I've been playing around with the macOS_Application_PKG_Add.ps1 skript and i can successfully upload most of my packages to Intune, but it seems that every pkg bigger than 4gb seems to end in an error.
I already changed [UInt32]$BlockSizeMB = 1 to [Int64]$BlockSizeMB = 1 to get the script start to upload these big files in the first place, but the Update-MgBetaDeviceAppManagementMobileApp module seems not to work with these large files:
Update-MgBetaDeviceAppManagementMobileApp : { "_version": 3, "Message": "An error has occurred - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: f604ccdb-398f-431d-b85a-be787957b321 - Url: https://fef.msub01.manage.microsoft.com/AppLifecycle_2411/StatelessAppMetadataFEService/deviceAppManagement/mobileApps('277324ca-3b07-4c38-842c-dbc9951f0ba0')?api-version= 5024-09-03", "CustomApiErrorPhrase": "", "RetryAfter": null, "ErrorSourceService": "", "HttpHeaders": "{}" } Status: 400 (BadRequest) ErrorCode: BadRequest Date: 2024-11-18T12:13:06 Headers: Transfer-Encoding : chunked Vary : Accept-Encoding Strict-Transport-Security : max-age=31536000 request-id : a5d7fe0a-5b94-4c2d-938e-20fdc4ee0b50 client-request-id : f604ccdb-398f-431d-b85a-be787957b321 x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF0000160F"}} Date : Mon, 18 Nov 2024 12:13:06 GMT At C:\Users\fmenz_adm\Desktop\macOS_Application_PKG_Add.ps1:149 char:9 Update-MgBetaDeviceAppManagementMobileApp -MobileAppId $mobil ...