chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Intune - Unable to push package from file directory with spaces #310

Closed ryanrichter94 closed 2 years ago

ryanrichter94 commented 2 years ago

What You Are Seeing?

Getting an AZCopy error saying incorrect parameters specified in command when attempting to push intune package to tenant.

What is Expected?

Add in the ability to push intune packages from a file directory having spaces in its name.

Likely an issue where we need to do some quoting of the file path to the package we pass to AZCopy.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Ran choco push .\firefox.101.0.1 --source=<INTUNE TENANT GUID> --api-key=<TENANT CLIENT ID>:<TENANT CLIENT SECRET> while my working directory had a folder name of Intune Apps.
  2. Trying the above with the folder now named Intune_Apps fixed the issue.

System Details

Output Log

N/A

References

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 4.2.0