Which of these sentences is grammatically correct?
I wanted to share with you the outcomes of today's board meeting
I wanted to share the outcomes of today's board meeting with you
Share, discuss, and explain -- and possibly other transitive communication verbs -- have direct objects but don't take an indirect object like tell, so they can't do normal Goal Advancement (also known as Dative Alternation, Dative Movement, or just Dative), which exchanges the position of the indirect and direct objects, and loses to:
One of the purposes of Goal Advancement is to move heavy NPs to the end of the sentence (there are a lot of rules that do this in English -- Extraposition and There-Insertion are examples), but without an indirect object one must use prepositions to indicate the addressee.
However, Goal Advancement has extensions for certain cases, and this seems to be one. For instance, a benefactive for phrase can be added to any volitional sentence:
and, provided that the recipient (Mary) winds up possessing the direct object (the book), this works. If this is not true, however, it doesn't:
(i.e, I didn't transfer the tire to Mary by changing it)
In these cases, informational transfer happens, but these are not benefactive, and the verbs use different prepositions to indicate addressee/recipient, so the prepositions have to remain. But they can switch position with the direct object. Similarly,
Both are grammatically valid.
However, the first one uses a slightly unusual word order.
... is to be preferred.
The key to getting this kind of thing right is to look at what native speakers write and say, and copy their sentence structures.