All Projects → 6mb → Microsoft 365 Admin

6mb / Microsoft 365 Admin

基于微软 API 的 office 365 用户管理(支持多账户切换)

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Microsoft 365 Admin

Docx
Fast and easy to use .NET library that creates or modifies Microsoft Word files without installing Word.
Stars: ✭ 1,288 (+875.76%)
Mutual labels:  office
Powerpointlabs
This is the project for PowerPointLabs, a productivity add-in for PowerPoint
Stars: ✭ 106 (-19.7%)
Mutual labels:  office
Pylightxl
A light weight, zero dependency, minimal functionality excel read/writer python library
Stars: ✭ 134 (+1.52%)
Mutual labels:  office
Officelife
OfficeLife manages everything employees do in a company. From projects to holidays to 1 on 1s to ... 🚀
Stars: ✭ 90 (-31.82%)
Mutual labels:  office
Officeproducer
Produce doc/docx/pdf format from doc/docx template
Stars: ✭ 95 (-28.03%)
Mutual labels:  office
Docbleach
🚿 Sanitising your documents, one threat at a time. — Content Disarm & Reconstruction Software
Stars: ✭ 110 (-16.67%)
Mutual labels:  office
Excelize
Golang library for reading and writing Microsoft Excel™ (XLSX) files.
Stars: ✭ 10,286 (+7692.42%)
Mutual labels:  office
Fluent.ribbon
WPF Ribbon control like in Office
Stars: ✭ 1,895 (+1335.61%)
Mutual labels:  office
Virtual Office
Virtual Office gives you transparency on what Zoom.us rooms are currently occupied and who is present
Stars: ✭ 103 (-21.97%)
Mutual labels:  office
Wopihost
ASP.NET Core MVC implementation of the WOPI protocol. Enables integration with WOPI clients such as Office Online Server.
Stars: ✭ 132 (+0%)
Mutual labels:  office
Py Kms
KMS Server Emulator written in Python
Stars: ✭ 1,318 (+898.48%)
Mutual labels:  office
Mschart
📊 mschart: office charts from R
Stars: ✭ 94 (-28.79%)
Mutual labels:  office
Linux Kms Server
Linux kms server, activate your windows productions.
Stars: ✭ 109 (-17.42%)
Mutual labels:  office
Onenote
📚 Linux Electron Onenote - A Linux compatible version of OneNote
Stars: ✭ 1,300 (+884.85%)
Mutual labels:  office
Kms vl all
🔑KMS_VL_ALL - Smart Activation Script
Stars: ✭ 2,066 (+1465.15%)
Mutual labels:  office
Abiword
Official Mirror of the AbiWord git repository - Read-Only
Stars: ✭ 77 (-41.67%)
Mutual labels:  office
Phpspreadsheet
A pure PHP library for reading and writing spreadsheet files
Stars: ✭ 10,627 (+7950.76%)
Mutual labels:  office
Bay area tech meetups
iOS, Android, web, hardware, bots...you name it, there's a meetup for you!
Stars: ✭ 137 (+3.79%)
Mutual labels:  office
Npoi
A .NET library for reading and writing Microsoft Office binary and OOXML file formats.
Stars: ✭ 1,751 (+1226.52%)
Mutual labels:  office
Docx
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
Stars: ✭ 2,150 (+1528.79%)
Mutual labels:  office

Microsoft-365-Admin

https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square https://img.shields.io/badge/springboot-2.0.6-orange.svg?style=flat-square

此项目是一个基于API的 Microsoft 365 管理平台, 支持订阅查询,用户管理(查询,新增,删除,分配许可证等),支持批量创建用户,批量删除用户,支持邀请码. 支持多账户管理.

后端基于SpringBoot,使用 msal4j 和 microsoft-graph sdk 开发完成

前端?嗯,能力不足,瞎写的,不要在意代码

系统功能

  • 总览:订阅数,许可证数,可用许可证数,用户数,允许登陆用户数,禁止登陆用户数等信息展示

  • 许可查询:查询每个订阅的许可证信息

  • 用户管理:查询,新增,删除,分配许可证等

  • 多账户切换

  • 新增登陆功能(需要在配置文件中配置账号和密码)

  • 新增Docker启动方式

  • 2020-11-23 增加发送账号密码到指定邮箱功能(需要修改配置文件)

  • 2020-11-25 增加邀请码功能,用户可以自行注册账号

注意:出现执行新增/删除账户,启用禁用账户,授权账户等操作后,查询结果不变,请右上角点击刷新缓存,或列表中搜索该用户

原因:调用微软API比较耗时,第一次查询时将需要的数据拉取到本地缓存(暂无自定义缓存失效功能,默认用户1天,域名1天,订阅30天)。

具体功能查看关于界面【操作教程】

权限

新增用户:

权限类型 权限(从最低特权到最高特权)
委派(工作或学校帐户) User.ReadWrite.All、Directory.ReadWrite.All、Directory.AccessAsUser.All
委派(个人 Microsoft 帐户)) 不支持。
应用程序 User.ReadWrite.All、Directory.ReadWrite.All

删除用户:

权限类型 权限(从最低特权到最高特权)
委派(工作或学校帐户) Directory.AccessAsUser.All
委派(个人 Microsoft 帐户)) 不支持。
应用程序 User.ReadWrite.All

分配/取消许可证:

权限类型 权限(从最低特权到最高特权)
委派(工作或学校帐户) User.ReadWrite.All、Directory.ReadWrite.All
委派(个人 Microsoft 帐户)) 不支持。
应用程序 User.ReadWrite.All、Directory.ReadWrite.All

运行

1、关于配置文件

请参考该文档 Config文档

2、存在Java环境的情况下

下载最新版本的jar包,然后在同目录新建config目录,下载 application-dev.yml文件放到该目录。

按照格式修改配置文件

执行 java -jar microsoft-0.0.1-SNAPSHOT.jar --spring.profile.active=dev 启动,端口:8099

3、Docker 安装 (推荐)

然后下载 application-dev.yml文件放到config目录。

按照格式修改配置文件

docker pull logr/microsoft:latest

docker run -d --name=microsoft-admin \
    -p 8099:8099 \
    -v /home/microsoft/config:/config \
    -v /home/microsoft/db:/root/.graph/db \
    logr/microsoft:latest

注意:如果前端文件单独部署(不建议部署到公网,没有登陆功能),请并修改config.js中的请求地址。

界面

image

image

image

image

image

image

API接口

接口文档

  • 登陆
  • Microsoft 365 首页
    • 首页展示
    • 刷新缓存
  • Microsoft 365 订阅管理
    • 许可统计
    • 许可证列表查询
  • Microsoft 365 用户管理
    • 查询用户统计
    • 查询用户信息列表
    • 查询用户信息详情
    • 查询绑定域名
    • 添加账号
    • 删除账户
    • 添加订阅
    • 取消订阅
    • 启用账户
    • 禁用账户
    • 批量创建用户信息

Postman 接口

点击下载

请自行设置 .evn {host} 和 {port}

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].