我在服务器2008r2上安装了IE11.我试图使用IE11进行调试,我遇到以下错误.我在Dom Explorer选项卡中遇到的错误是:
诊断:
Exception in window.onload: Error: An error has ocurredJSPlugin.3005
堆栈跟踪:
Error: An error has ocurredJSPlugin.3005 at getString (res://C:\Program Files\Internet Explorer\F12Resources.dll/23/pluginhost/plugin.f12.js:5021:27) at ToolWindowHelpers.loadString (res://C:\Program Files\Internet Explorer\F12Resources.dll/23/Common/CommonMerged.js:5803:13) at TabPanes..
Run Code Online (Sandbox Code Playgroud) javascript browser windows internet-explorer ie11-developer-tools
我在ASP.NET Web应用程序中使用SignalR.在这里,我将客户端从外部调用到集线器类使用IHubContext
.我需要获取当前用户的连接ID,以便仅向当前用户发送消息.如何在客户端获取连接ID?
嗨,我在批处理文件的变量中有完整的文件路径.如何获取其第一级和第二级父目录路径?
set path=C:\SecondParent\FirstParent\testfile.ini
Run Code Online (Sandbox Code Playgroud) 为此,我使用Graph api如下,
var settings = {
"async": true,
"crossDomain": true,
"url": "https://graph.microsoft.com/beta/sharepoint/sites",
"method": "GET",
"headers": {
"authorization": "Bearer token",
"cache-control": "no-cache",
"postman-token": "3116b007-e574-5ad4-aedd-3b35fbf76b61"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Run Code Online (Sandbox Code Playgroud)
但它输出如下,
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#sharePoint/sites",
"value": [
{
"createdDateTime": "2017-02-18T13:03:01.263Z",
"description": "",
"id": "2422c3a2-3c51-40f1-8483-5454aead43c4,412bb897-c754-460a-962d-db22893a1649",
"lastModifiedDateTime": "2017-04-24T02:16:43Z",
"name": "",
"webUrl": "https://mps330124.sharepoint.com",
"root": {},
"siteCollection": {
"hostname": "mps330124.sharepoint.com"
},
"siteCollectionId": "2422c3a2-3c51-40f1-8483-5454aead43c4",
"siteId": "412bb897-c754-460a-962d-db22893a1649"
}
]
}
Run Code Online (Sandbox Code Playgroud)
我怎样才能实现它使用graph api beta
您好,我正在尝试使用 Graph api(最近更新)获取 Microsoft 团队的频道,如下所示
var settings = {
"async": true,
"crossDomain": true,
"url": "https://graph.microsoft.com/beta/groups/f389913f-b38d-4784-a37c-9ae3259275dc/channels",
"method": "GET",
"headers": {
"authorization": "token`enter code here`",
"cache-control": "no-cache",
"postman-token": "f4e5037c-913a-bc76-10a2-a0adb9064c11"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Run Code Online (Sandbox Code Playgroud)
但我收到以下错误。
{
"error": {
"code": "AccessDenied",
"message": "Failed to execute Skype backend request GetThreadRequest. Request Url: https://apac-client-ss.msg.skype.com/v1/threads/19:88b4b1fa52214b7fbb3fd8d10bd37cea@thread.skype?view=msnp24Equivalent, Request Method: GET,. The server failed to respond correctly. Response Code: Forbidden, Reason: SkypeToken is from a disallowed region.. Response Headers: Pragma: no-cache\r\nContextId: tcid=7407026678545725096,server=EAP010230200016\r\nCache-Control: no-store, must-revalidate, no-cache\r\nDate: Fri, 12 …
Run Code Online (Sandbox Code Playgroud) graph azure azure-ad-graph-api microsoft-teams microsoft-graph-api
graph ×2
windows ×2
ajax ×1
asp.net ×1
azure ×1
batch-file ×1
browser ×1
cmd ×1
javascript ×1
office365 ×1
outlook ×1
sharepoint ×1
signalr ×1
xml ×1