-
Notifications
You must be signed in to change notification settings - Fork 93
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
Error message: Cannot validate argument on parameter 'Body'. #3
Comments
Same here. Have you ever found a solution!? |
No solution found, I still have the same problem. |
Can confirm that I'm experiencing the same issue. The file size varies but it's around the 230 ~ 300 MB mark that it fails. Would be great to see some sort of workaround to this. |
@NickolajA Have you had the time to examine this issue? It would be so great to start using this tool but as of now we're hindered by the file size issue. :-( Kind regards, |
I've been trying to replicate this issue, however I cannot get it to fail that all of you're describing. I tested with a 700MB+ file just now and it ran through just fine. I noticed though that it ran through the first ~60 out of 129 chunks relatively quickly, but then after that it took about 2 seconds per chunk (I'm on a 500/500 Mbps connection). I'll have to do some more testing before I can even start to understand why it's failing, however it's hard as I can't get it to fail. |
Good news! I just made my test content even bigger, now around 1.5GB and I was able to reproduce the error. I'll look into it and get back once I know more. |
I have a working theory, that it's related to the SAS Uri renewal timer that's forcing the renewal function. Could any of you attempt to time from when the first chunk starts uploading to when the module fails? It should be approximately 7min. |
Just verified it myself:
|
This looks much better, now the SAS Uri is renewed fine, was a slight error in the empty body content not defining JSON correctly:
|
Would someone be kind and try to update their module with these two files that was just committed and updated in this repo: Private\Invoke-AzureStorageBlobUploadRenew.ps1 The fix for this issue are in here, please verify :) |
IntuneWin32App version 1.2.1 pushed to PSGallery which includes this fix. |
Have created an 3.2 gb intunewin file and creating the app with :
Add-IntuneWin32App -FilePath $IntuneWinFile.Path -DisplayName $DisplayName -Description $DisplayName -Publisher $appVendor -InstallExperience system -RestartBehavior suppress -DetectionRule $DetectionRule -RequirementRule $RequirementRule -InstallCommandLine $InstallCommandLine -UninstallCommandLine $UninstallCommandLine -Icon $Icon -Verbose
It starts :
xsd : http://www.w3.org/2001/XMLSchema
xsi : http://www.w3.org/2001/XMLSchema-instance
ToolVersion : 1.4.0.0
Name : Deploy-Application.exe
UnencryptedContentSize : 3304008521
FileName : IntunePackage.intunewin
SetupFile : Deploy-Application.exe
EncryptionInfo : EncryptionInfo
The text was updated successfully, but these errors were encountered: