I found the answer in the most unexpected place.
In order to access the
IPluginManager.h header file you need
to add the “Projects” dependency on
your plugin’s dependencies
That means opening the xxxx.build.cs and adding to Private dependencies “Projects” on the list.
In fact, including Interfaces/IPluginManager.h is more common than just IPluginManager.