Just poured into the gas tank? On the 'duke at least, I don't think it would even get to the IAC passage. It's for air, after all. When I took my throttle body off, I found the IAC passage to be nearly clogged shut. That kind of grime needs to be removed manually.
If it's throttle body cleaner, it should be fine. F.I. Throttle Body cleaner is safe for electronics, so it doesn't mess up sensors, etc. You want to avoid using regular carb cleaner spray becasue it may not be safe for the sensors.