Here are the materials in Dakota Rural Action v. Noem (D.S.D.):
9-motion-for-preliminary-injunction.pdf
24-motion-to-dismiss-sheriff-thom.pdf
28-motion-for-judgment-on-pleadings.pdf
dkt-49-order-dismissing-sheriff-thom.pdf
dkt-50-order-granting-preliminary-injunction.pdf
Complaint posted here.