SPFx CommandSet iconImageUrl property is not working in some tenants
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
Command action should be rendered with image
Observed Behavior
Image is not displayed for command action in list view on some tenants. It is rendered as
<img src="" class="ms-Image-image ms-Image-image--contain ms-Image-image--portrait is-notLoaded is-fadeIn is-error image-271">
Steps to Reproduce
My manifest.json:
{
...
"componentType": "Extension",
"extensionType": "ListViewCommandSet",
"items": {
"skybowCommand": {
"title": { "default": "skybow Action" },
"type": "command",
"iconImageUrl": "/_layouts/15/images/siteIcon.png"
}
}
}
Submission Guidelines
I have compared two diferent list views on different tenats where issue is reproduced and not. Its depend on your useItemsScope flag. When its TRUE => icon is not shown. I have attached screenshots with details (working.gif and notworking.gif).
In this script file: https://spoprod-a.akamaihd.net/files/odsp-next-prod_2019-03-01-sts_20190318.001/splistitemsscopedeferred-is-mini-93b2d0fc.js
e.iconUrl is undefined and e.commandAdapter.iconUrl is correct. The value is read from e.iconUrl. See script.gif atached screenshot for details.
This issue was occurred 3 weeks ago and it is still reproduced now.
Let me know if you need more details.
Best regards, Yuriy
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Attached missing files.
This issue should have been fixed. Please try again. @ystetsyuk
We seem to have identical issues and receive the same image error (when we use the news web part). What is the status on this bug?
Sorry for the long delay. We're going through old issues in the list. Seems like this one has been resolved. Please, reply back if it's still an issue for any of you.
Thanks!
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author
Closing issue due to no response from the original author. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: No response from the original issue author