A tool which could help you to renew the subscription of E5 enterprise edition for developer of Office 365. It base on official tutorial and it achieve by Outlool's API and oAuth 2.0.
you need to create an application on https://apps.dev.microsoft.cn/, and the detail you can realize on https://docs.microsoft.com/zh-CN/graph/tutorials/java?tutorial-step=2
you can also use the following tool to renew your subscription. but please pay attention. they are both using Onedrive's api.
if you choose the rclone as your default tool, you should use your own client id and client secret.