Recent work on microbe-host interactions has revealed an important nexus between the environment, microbiome, and host fitness. Marine invertebrates that build carbonate skeletons are of particular interest in this regard because of predicted effects of ocean acidification on calcified organisms, and the potential of microbes to buffer these impacts. Here we investigate the role of sulfate-reducing bacteria, a group well known to affect carbonate chemistry, in Pacific oyster (Magallana gigas) shell formation. We reared oyster larvae to 51 days post fertilization and exposed organisms to control and sodium molybdate conditions, the latter of which is thought to inhibit bacterial sulfate reduction. Contrary to expectations, we found that sodium molybdate did not uniformly inhibit sulfate-reducing bacteria in oysters, and oysters exposed to molybdate grew larger shells over the experimental period. Additionally, we show that microbiome composition, host gene expression, and shell size were distinct between treatments earlier in ontogeny, but became more similar by the end of the experiment. Although additional testing is required to fully elucidate the mechanisms, our work provides preliminary evidence that M. gigas is capable of regulating microbiome dysbiosis caused by environmental perturbations, which is reflected in shell development.