Forum Discussion
Suleyman Ali
Sep 15, 2023Iron Contributor
Uploading app icons for manage apps in intune using microsoft graph SDK Powershell
hi all, I am creating a script to add apps to intune and assign them. currently, all is working well apart from uploading the icon. Here is the portion of the body parameters $appBody = @...
Sep 26, 2023
Any update for us?
- Suleyman AliSep 28, 2023Iron Contributorhi there, apologies for the delay. Firstly, with the above you are not using the MS Graph Powershell SDK. Which we want. Also, if you look at the code snippet, the image is in base64 value and put into the var $base64string. Although i maybe should of put that there to make it clearer.
IT seems that it does not upload the icon straight away when creating the app. we looked at other examples, and we can see that some are creating the app, and once finished, they then upload the image icon. Once we did this it seems to work. I cant find any documentation yet to see if this is the case. but we can live with that workaround- Sep 28, 2023Ok, like a two-stage thing and not possible in one run? I couldn't find anything about that either. I'm curious about that let us know if you find anything