Hey everyone! I'm wondering if there's a way to change the name of an IntuneWin file for a Win32 app in the Intune Portal using the Graph API. I previously mentioned working with Intunewin files, and while I can update the file itself through Graph, the name doesn't seem to update in the portal. For instance, it shows the same filename both before and after the update. Any insights or workarounds would be appreciated! Thanks!
3 Answers
What you’re experiencing has to do with how the API works behind the scenes. If you want to figure out how to do this via Graph, you can check what actions are taking place when you upload a package through the GUI. Use your browser's developer tools and look at the network tab. That will show the requests being made, which you can replicate in PowerShell. If you're stuck, tools like ChatGPT might help you with the scripting!
Unfortunately, you can't change the name of the IntuneWin file directly through Graph API. The displayed name matches the original name of the file you uploaded. If you want to see a different name in the portal, you’ll need to upload a new IntuneWin file with the desired name instead.
Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically