HKACG+'s Archiver

Laputa 發表於 28-7-2023 12:11

快速新增Microsoft 365開發人員計畫 含永久續期方法

Source : [url=https://telegra.ph/Microsoft-365-01-13]https://telegra.ph/Microsoft-365-01-13[/url]

Telegram Oasis Channel 綠洲電報頻道 [url=https://t.me/toc_as]https://t.me/toc_as[/url]
SH的AList [url=https://alist.toc.icu/]https://alist.toc.icu/[/url]
如果覺得不錯,可以的話,[url=https://www.buymeacoffee.com/tocsh]請我喝杯咖啡[/url]如何?[hr]找續期方法請按CTRL+F搜尋Github存儲[hr][img]https://telegra.ph/file/f8a479b86481224978234.png[/img]
按立即加入
[img]https://telegra.ph/file/840397767aae597f19743.png[/img]
登入或新增一個帳號
(建議先於無痕模式下新增好帳號並於設定檔中設定好姓氏及姓名)
[img]https://telegra.ph/file/f069cbe1ed78d73a2eac0.png[/img]
地區、公司與語言隨意填並勾選同意條款
[img]https://telegra.ph/file/fcb6dd273778cb57d7b06.png[/img]
任選一個
[img]https://telegra.ph/file/7a751888d59e1358e0808.png[/img]
任選一個
[img]https://telegra.ph/file/f93a52d5ad7915850f1d4.png[/img]
選擇"可配置沙盒"或選"即時沙盒"
即時沙盒會無法自訂域名
建議是可配置沙盒
[img]https://telegra.ph/file/c56b0ece2498b9928a399.png[/img]
新增一個開發人員帳戶
這邊是第一個帳號(共可用25個5T帳號)
創建域為@XXXXX.onmicrosoft.com
[img]https://telegra.ph/file/e7991707019026f15d402.png[/img]
每支電話僅能使用一次且無法使用VoIP電話來認證
[img]https://telegra.ph/file/2e0d930f60a47ae0218d6.png[/img]
點選"轉到訂閱"
[img]https://telegra.ph/file/9719a7bbc8f3eb8e75515.png[/img]
輸入剛剛設定的"開發人員密碼"
[img]https://telegra.ph/file/7249edfc0db636460c0d8.png[/img]
按箭頭快速跳過
[img]https://telegra.ph/file/d59b1106ed1de6a66bea8.png[/img]
點擊右上的(9個點)後選"系統管理"
[img]https://telegra.ph/file/437b8f202007a3568f537.png[/img]
我們先來改預設儲存空間大小
按全部顯示
[img]https://telegra.ph/file/fbcc6d6c1a180db047d8c.png[/img]
按SharePoint
[img]https://telegra.ph/file/a9437bd646ac650dad299.png[/img]
點選"設定"
[img]https://telegra.ph/file/20d8b603f9463cc691849.png[/img]
選擇"儲存空間限制"
[img]https://telegra.ph/file/c0ed593189e67d2d42ab3.png[/img]
設定5120GB
[img]https://telegra.ph/file/48fde7d89eea9a596cf12.png[/img]
題外話
可以先將網站儲存空間限制改為 手動儲存空間限制
未來有機會可以用到
這就是傳說中的1個號25TB(好像還能重複呢...)
[img]https://telegra.ph/file/924a5beefa9f8ee354275.png[/img]
回到剛剛的畫面
點選 作用中使用者
[img]https://telegra.ph/file/e37a1fdcb5fbaef7221f2.png[/img]
回到Microsoft 365 admin center畫面
若要最大化使用Microsoft 365開發人員計畫就選"新增多個使用者
要一個一個新增使用者也是可以
[img]https://telegra.ph/file/da2a265f3aa09c7cc8bb7.png[/img]
可以一次新增24個開發人員帳號
輸入姓氏、名子與使用者名稱
[img]https://telegra.ph/file/2b440b107b010ba8c35af.png[/img]
新增的24位使用者設定授權
[img]https://telegra.ph/file/1d9c4d7260af40e20c85e.png[/img]
按"新增使用者"並等完成新增
新增後記得重設密碼或下載帳號資料(密碼會在裡面)
[img]https://telegra.ph/file/3c17f026e9bb49a71ce80.png[/img]
為了新增的帳戶能夠正常使用,
請先登入各帳號的[url=https://www.office.com/]https://www.office.com/[/url]頁面,
以免OneDrive‎頁面無法進入或設定。[hr]Github存儲[hr]
先註冊一個[url=https://github.com/]GitHub帳號[/url]後
下載[url=https://github.com/vcheckzen/KeepAliveE5/archive/refs/heads/master.zip]存儲壓縮檔[/url]並解壓縮後會得到一個叫KeepAliveE5-master資料夾
[img]https://telegra.ph/file/89cbd8deb6c760b8848d6.png[/img]
使用記事本開啟
KeepAliveE5-master\.github\workflows 資料夾中的
register.yml 與 routine.yml 並將
register.yml > name: Register APP
routine.yml > name: Invoke API
的上方加入一行並輸入#
如圖為register.yml
輸入完後存檔
新增一個[url=https://github.com/new]新的存儲庫[/url]
[img]https://telegra.ph/file/dc19ef797a4e0cb407887.png[/img]
Repository name 自訂
[img]https://telegra.ph/file/c33d7efcf1737ed27e896.png[/img]
選擇 Private
[img]https://telegra.ph/file/328797d40e64c56b526ab.png[/img]
Choose a license 選擇 GNU General Public License v3.0
[img]https://telegra.ph/file/3b2da31f0562638c06934.png[/img]
Create repository 創建存儲庫
[img]https://telegra.ph/file/3b4147e92949030ee9ce2.png[/img]
點擊 branch
[img]https://telegra.ph/file/76b899e8292a754f16cc9.png[/img]
點擊鉛筆修改
[img]https://telegra.ph/file/07e1ce7a20990f3b31051.png[/img]
將 main 改成 master 後按 Rename branch 重命名分支
[img]https://telegra.ph/file/3387a5654de690a7ba7b9.png[/img]
點擊 Code
[img]https://telegra.ph/file/6bbd94bf36bb5a1b54438.png[/img]
點擊 Add file > Upload files 上傳文件
[img]https://telegra.ph/file/2dead91937bd302c8c676.png[/img]
把檔案移動至畫面或按 choose your files 上傳文件
[img]https://telegra.ph/file/366e7c890ae920286d2a8.png[/img]
上傳剛剛解壓縮的9個文件
[img]https://telegra.ph/file/d579d3bf1d3782f8e8099.png[/img]
等待上傳完後按 Commit changes 提交更改
[img]https://telegra.ph/file/23bee3c1a49402c26f5f6.png[/img]
點擊 Add file > Create new file 創建新文件
[img]https://telegra.ph/file/a13540bcb931b2fb4ec79.png[/img]
在 Name your file… 貼上
.github/workflows/
[img]https://telegra.ph/file/3f9c11ffc5eab255a6a8b.png[/img]
再輸入0
[img]https://telegra.ph/file/06ddd9b371d8c5d80337f.png[/img]
完成後按 Commit new file 提交新文件
[img]https://telegra.ph/file/5d1cf21c424e143d5e399.png[/img]
點擊 Add file > Upload files 上傳文件
[img]https://telegra.ph/file/1ce10d2a725ff60dc7cc6.png[/img]
上傳KeepAliveE5-master\.github\workflows的2個文件
[img]https://telegra.ph/file/0236f60b054ccaef77bb8.png[/img]
等待上傳完後按 Commit changes 提交更改
[img]https://telegra.ph/file/dea94f55949e77e49cdf8.png[/img]
點擊 Add file > Create new file 創建新文件
[img]https://telegra.ph/file/61f023c444f3c1a80e587.png[/img]
在 Name your file… 貼上
register/
[img]https://telegra.ph/file/8c13e951befe32c882a6d.png[/img]
再輸入0
[img]https://telegra.ph/file/94c1886e48f1c5c6f9413.png[/img]
完成後按 Commit new file 提交新文件
[img]https://telegra.ph/file/a393b062538225d8426c1.png[/img]
點擊 Add file > Upload files 上傳文件
[img]https://telegra.ph/file/4c2a1b8cbe9cd33b512e1.png[/img]
上傳KeepAliveE5-master\register的7個文件
[img]https://telegra.ph/file/248f44ce47978dc95ac36.png[/img]
等待上傳完後按 Commit changes 提交更改
[img]https://telegra.ph/file/89038cb0f4b37c57e7a74.png[/img]
點擊上方的 Settings 設置
[img]https://telegra.ph/file/3d3833e90e10a3d18b162.png[/img]
點擊 Security > Secrets and variables >Actions 動作
[img]https://telegra.ph/file/44bd6c8551f2dd604ae00.png[/img]
點擊 New repository secret 新的存儲庫secret
獲取 [url=https://github.com/settings/tokens/new]Github PAT密鑰[/url]
[img]https://telegra.ph/file/21b0f1e69c20d22335c00.png[/img]
Note 自訂
[img]https://telegra.ph/file/efd01723f33b081e88b55.png[/img]
Expiration 選 No expiration
[img]https://telegra.ph/file/57f7775a3cc0c93f6a199.png[/img]
Select scopes 選 repo 與 workflow
[img]https://telegra.ph/file/fc6a0965fd033d5c12017.png[/img]
Generate token 生成令牌
[img]https://telegra.ph/file/326025196b2a08268ae17.png[/img]
點擊複製
[img]https://telegra.ph/file/e0d57a404a25c2f6de586.png[/img]
Name 輸入 PAT
Secret 輸入剛剛獲取的Github PAT密鑰
完成後按Add secret 添加secret
[img]https://telegra.ph/file/64e79ae3f56d378a4e0c1.png[/img]
點擊 New repository secret 新的存儲庫secret
[img]https://telegra.ph/file/8e6e2deb5462b6ce082fc.png[/img]
Name 輸入 USER
Secret 輸入開發人員帳號
例: [url=mailto:[email protected]][email protected][/url]
請注意這裡輸入的帳號必須要擁有管理員權限
此支援多帳號(每行一個帳號)
[img]https://telegra.ph/file/30de14a6861b87094ff82.png[/img]
點擊 New repository secret 新的存儲庫secret
[img]https://telegra.ph/file/13f7bb722ca62be0404fc.png[/img]
Name 輸入 PASSWD
Secret 輸入開發人員密碼
若有多帳號請每行新增對應的密碼
[img]https://telegra.ph/file/83796d37cc83b1c3c572c.png[/img]
此時請確認是否已新增三個項目
[img]https://telegra.ph/file/183cc0d0d5692ba70f030.png[/img]
確認完畢後 點擊 Actions 動作
[img]https://telegra.ph/file/b613865d2001c18aaff0a.png[/img]
請先點擊 Register APP
[img]https://telegra.ph/file/c871fead2e43ac6f9c514.png[/img]
點擊 Run workflow > 綠色的Run workflow 運行工作流程
[img]https://telegra.ph/file/b33bea2fa2efcd2404460.png[/img]
等待約五分鐘左右
出現✅代表成功
[img]https://telegra.ph/file/12794135a4ea465109690.png[/img]
成功後再點擊 Invoke API
[img]https://telegra.ph/file/bc44a6a7932948697fc60.png[/img]
點擊 Run workflow > 綠色的Run workflow 運行工作流程
[img]https://telegra.ph/file/41ca8f89eb547185550a1.png[/img]
等待約五分鐘左右
出現✅代表成功
兩項都成功就完成了,Github存儲庫會自動啟動Invoke API,若啟動失敗會寄信通知,
只不過還是並不保證能夠無限續訂E5就是了...

[hr]
Telegram Oasis Channel 綠洲電報頻道 [url=https://t.me/toc_as]https://t.me/toc_as[/url]
By.SH @SH_Taiwan [url=https://t.me/SH_Taiwan]https://t.me/SH_Taiwan[/url]

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.