YukiDrive:索引 OneDrive 和 SharePoint 的建站文章
導讀:建站文章建站文章 SharePoint 容量很大,可以隨便創建很多個 25T,包括世紀互聯也有25T同時支持世紀互聯和國際版程序使用 .net core 和 vue 前后端分離網站建設公司網站推廣優化seo。
SharePoint 容量很大,可以隨便創建很多個 25T,包括世紀互聯也有25T 同時支持世紀互聯和國際版 程序使用 .net core 和 vue 前后端分離 后面還會繼續添加功能 Demo:https://drive.yukino.co/ 項目地址:https://github.com/YukiCoco/YukiDrive
獲取程序
從?Release?獲取對應系統的最新版本
獲取 ClientId 與 ClientSecret
登錄Azure:https://portal.azure.com/?或?https://portal.azure.cn/?(世紀互聯)
點擊 Azure Active Directory / 應用注冊 / 新注冊
名字任意取,賬戶類型為?任何組織目錄(任何 Azure AD 目錄 - 多租戶)中的帳戶,重定向URL為?https://你的域名/api/admin/bind/new
點擊 概述,記錄應用程序(客戶端)ID,即為 ClientId
點擊 API 權限 / 添加權限 / Microsoft Graph / 委托的權限
勾選?Files.ReadWrite.All?和?Sites.ReadWrite.All
點擊 證書和密碼 / 新客戶端密碼,創建密碼并記錄為 ClientSecret
配置 appsettings.json
從解壓后的文件目錄中找到 appsettings.json 并修改
{ "Logging": { "LogLevel": { "Microsoft": "Warning", "Microsoft.Hosting.Lifet網站優化seo培訓ime": "Information" } }, "AllowedHosts": "*", "ConnectionString": "Data Source=YukiDrive.db;", "ClientId": "", "ClientSecret": "", "ListeningUrls": "https://localhost:1272;http://localhost:1273", "Certificate" : { "Enable" : true, "FilePath" : "", "Password" : "" }, "BaseUri":"https://localhost:1272", "Proxy":"", "Type":"", "AccountName": "", "DominName": "", "AdminName" : "", "AdminPassword": "" }ClientId?與?ClientSecret?填寫在上一步所得值
ListeningUrls?和?Certificate?與 https 證書有關,下一步再講
BaseUri?修改為你的域名,有端口必須帶上端口號,必須使用 https
Type?為你的 Office 賬戶地區,可選擇為
- China?世紀互聯
- Global?國際版
AccountName?為你的 Office賬戶名,如:Sakura@yukistudio.onmicrosoft.com
DominName?為你的 SharePoint 域名,登錄 SharePoint 就能在瀏覽器地址欄看到,如:yukistudio.sharepoint.com
AdminName?和?AdminPassword?為網站后臺的賬戶和密碼
關鍵詞標簽: OneDrive 目錄程序 SharePoint YukiDrive
聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-28 ,文章YukiDrive:索引 OneDrive 和 SharePoint 的建站文章主要講述OneDrive,SharePoint,YukiDrive,網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_11474.html