Hi @Sarah ,
Is there a Group Policy or PowerShell command which can set this for "All Users" to open in the "Desktop App"?
I am afriad no, as indicated in this document, this is a user preference setting, so per my understanding it can only be controlled by users themselves.
Below is a blog which mentioned about this:
New Option to Control How Teams Clients Open Office Documents
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.