It would be easier to judge which of your two alternatives is the better choice if we had the context in which the words are embedded and the intended audience of the text.
That said, "noun stacks" or "noun strings" such as "customer relationship management solution" are generally discouraged by style guides. For example, The Oxford Guide to Plain English (p79) states in the section Untying noun strings:
In most well-written sentences, nouns tend not to be next to each
other. ...when they are eventually bundled together by an unthinking
author, they often mate and spawn that loathsome love-child of
business writing, the noun string. Here are a few such:
- community capacity enhancement initiative
- Employeee Job Consultation Scheme
Each of the suggested improvements involved expanding the phrase to include a preposition.
The following extract is from plainlanguage.gov, "An official website of the United States government":
Avoid noun strings
The bulk of government and technical writing uses too many noun
strings, or groups of nouns “sandwiched” together. Readability suffers
when three words that are ordinarily separate nouns follow in
succession. Once you get past three, the string becomes unbearable.
Technically, clustering nouns turns all but the last noun into
adjectives. However, many users will think they’ve found the noun when
they’re still reading adjectives, and will become confused.
Bring these constructions under control by eliminating descriptive
words that aren’t essential. If you can’t do that, open up the
construction by using more prepositions and articles to clarify the
relationships among the words.
So again, the advice is to expand the string by adding a preposition.
As to "customer relationship management solution", if your audience is likely to know about CRM, then you may be able to leave the phrase alone or write "customer relationship management (CRM) solution".
But for anyone who does not know this term, the meaning is potentially ambiguous. For example, it could be a solution to the management of the relationship between customers.
The avoidance of ambiguity should be a primary goal of every writer.