Git Product home page Git Product logo

msautocreate's Introduction

用cloudflare的workers实现自助创建微软全局子号

无需激活码版在 old 文件夹中

1 进入 Azure Active Directory 新建一个 app,获取 tenant idclient id image.png

2.给 app 授权,权限为 graphDirectory.ReadWrite.All image.png

3 新建一个 client secret image.png

4 获取订阅的 skuid,感谢 @tanst 提供方法

在 Microsoft 365 admin center 管理面板-账单-许可证 然后点击你想看的「许可证」,在地址栏就有 skuid 了

5 配置 reCAPTCHA,前往 https://www.google.com/recaptcha/intro/v3.html 新建一个 reCAPTCHA v2 checkbox 验证,填入你的域名,获取 site keysecret image.png

6 复制 worker.js 里面的内容到 cf workers 里面,填入相应的数据

带激活码版

code_api_link 值为激活码 api 接口链接, api 链接查询数据库并返回truefalseweb服务器 + sql数据库即可实现

telegram@ratherbeasleep 可有偿定制 api

msautocreate's People

Contributors

realbyg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.