Can you observe which Office 365 package did you use in the past, and try to reuse that version in your automation?