This article has been included in the column of this site
Microsoft Office Tips
0, small ads
Microsoft has now changed the maximum duration of application secrets, which can now only be set to expire at a maximum of 2 years.
Therefore, following the following tutorial configuration can be a lot more difficult than expected.
If you don't want to use the following method to apply, you can comment and contact me to buy, each account is 50/year, you can customize the prefix (prefix), the final account is
(prefix)@tsinbei.com
After purchase, the default OneDrive capacity is 5TB. It is best to keep it active. If it is not active, the OneDrive capacity will be reduced to 1TB. If normal use is more than 4.9TB, there is a probability that you can apply for free up to 25TB, but if you try to copy and paste the space, you will be banned.
1. Microsoft E5 Developer Program
Office 365 Developer Edition E5 is provided for developers and is an official event of Microsoft. If you apply for the Office 365 Developer Program, you can get 3 months of free Office 365, and you can renew it for free if you meet certain requirements.
The Office 365 E5 plan includes 25 licenses for almost all Office 365 apps.
2, matters needing attention
Note: Please prepare your own international networking tools, you can refer to the following articles
Linux server to build VPN
https://blog.tsinbei.com/archives/181/
It may be used when registering an account and receiving SMS verification codes. If the verification code cannot be sent and the tool needs to be used, it is recommended to keep the tool connected throughout the process.
Microsoft accounts are basically not invalid after logging in, so strange problems may occur, so you can use Chrome's Privacy Tab or Microsoft Edge's InPrivate Mode.
Follow the operation to ensure a relatively stable renewal. Please check whether GitHub Actions is still running from time to time, because Actions will be deactivated if there is no commit in the GitHub repository for 60 days, and an email will be sent to notify you before deactivation:
You can click the link in the email to open GitHub and continue running Actions. So, Be sure to keep your GitHub mailbox accessible!
3. Apply for an account
Apply for a link:
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
Scroll to the bottom and click join now
Login account
Fill in the information
The company name can be chosen arbitrarily, but personal name is not recommended.
Note: In many tutorials, it is recommended to select all of them in this step, but this is not practical and may affect the renewal, so it is recommended to select only a few!
Add subscription
Note: The administrator account after that is (username)@onmicrosoft.com, please remember this account, which is different from the administrator account in Microsoft Admin Center!
Subscription succeeded
4. Manage subscriptions
Open
https://www.office.com/?auth=2
Click to manage
or open directly
https://portal.microsoft.com
Management operations can be performed.
5, installation
You can use the official method to install, but it is recommended to use Office Tools Plus installation, you can refer to this article for details:
Quickly install Microsoft Office with Office Tool Plus
https://blog.tsinbei.com/archives/273/
6. Set the initial capacity of OneDrive
Open
https://admin.onedrive.com/?v=StorageSettings
Modify the default storage to 5120GB
7. Free renewal
One month before the expiration, Microsoft will manually detect the account activity, and the detected indicators are the calling of each API.
Therefore, we can use OneIndex or OlaIndex to build a OneDrive online file browser, or use Cloudreve to build a network disk to connect with OneDrive.
If the renewal is successful, you will receive an email:
For specific methods, please refer to the article on this site:
Bt panel deployment OneIndex
https://blog.tsinbei.com/archives/281/
Bt panels deploy OlaIndex
https://blog.tsinbei.com/archives/472/
Build Cloudreve
If you don't have a server, you can use GitHub Actions to automatically call, and use the GitHub Actions cron task to automatically call the API and keep it active.
Advantages: Free, no need to buy a server, no need to worry about deployment, stable API call, almost 100% renewal rate guaranteed.
Disadvantages: deployment is troublesome, you need to apply for Azure applications, bind application secrets, etc., and application secrets need to be replaced every 2 years.
Warehouse Address:
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
There are detailed tutorials in Readme.md, so I won't repeat them here.
Get the Refresh Token page:
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
It is currently on GitHub Pages, and when you have time to beautify the UI, you can put it on your own server.
Management page after successful renewal:
Tribute: The original author is https://github.com/wangziyingwen , the original warehouse has been deleted for related reasons, so the above is the warehouse I fork to my account.
Apply for Microsoft Developer E5 Plan
Comments