Programmatic way to configure search with CSOM
There's currently no better way to configure search indexed and managed properties than export/import configuration. It's a huge pain when building search related apps and a black box, we need something better
Thanks for your feedback! We’re reviewing your suggestion.
Vincent Biret commented
Additionally the export/import technique requires a full control permission which make the application impossible to publish on the marketplace