{"id":17082,"date":"2022-09-07T13:28:12","date_gmt":"2022-09-07T12:28:12","guid":{"rendered":"https:\/\/test.effency.fr\/?page_id=17082"},"modified":"2022-09-07T14:47:58","modified_gmt":"2022-09-07T13:47:58","slug":"acceptteamspermissions","status":"publish","type":"page","link":"https:\/\/test.effency.fr\/en\/acceptteamspermissions\/","title":{"rendered":"Accept Teams Permissions"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"17082\" class=\"elementor elementor-17082\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ff1edda elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ff1edda\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-934bb31\" data-id=\"934bb31\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-25c6db1 elementor-widget elementor-widget-heading\" data-id=\"25c6db1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Teams admin consent<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f034ec6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f034ec6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f8c2812\" data-id=\"f8c2812\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9c1576a elementor-widget elementor-widget-button\" data-id=\"9c1576a\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t<a class=\"elementor-button elementor-size-sm\" role=\"button\" id=\"doAccept\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-text\">Click to grant bot permission<\/span>\n\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2326c4b elementor-widget elementor-widget-html\" data-id=\"2326c4b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\n<label id=\"status\"><\/label>\n\n<script>\n\nfunction doAccept1() {\n  jQuery.ajax({\n    type : \"GET\",\n    contentType: \"text\/plain\",\n    dataType : \"text\",\n    url : \"https:\/\/service-test.effency.fr\/teams\/applicationId\",\n    success: function(response) {\n      window.open(\"https:\/\/login.microsoftonline.com\/common\/adminconsent?client_id=\" + response + \"&state=1234&redirect_uri=https:\/\/test.effency.fr\/accept-teams-permissions-done\");\n    },\n    error: function(error, status, t) {\n      document.getElementById(\"status\").innerHTML = \"Could not get the bot  applicationId\";\n    }\n  });\n}\n\njQuery(\"#doAccept\").click(function() {\n    doAccept1();\n});\n\n<\/script>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Teams admin consent Click to grant bot permission<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Accept Teams Permissions - Effency<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/test.effency.fr\/acceptteamspermissions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accept Teams Permissions - Effency\" \/>\n<meta property=\"og:description\" content=\"Teams admin consent Click to grant bot permission\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.effency.fr\/acceptteamspermissions\/\" \/>\n<meta property=\"og:site_name\" content=\"Effency\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Effency.team\/\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-07T13:47:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@effency_fc\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.effency.fr\/acceptteamspermissions\/\",\"url\":\"https:\/\/test.effency.fr\/acceptteamspermissions\/\",\"name\":\"Accept Teams Permissions - Effency\",\"isPartOf\":{\"@id\":\"https:\/\/test.effency.fr\/#website\"},\"datePublished\":\"2022-09-07T12:28:12+00:00\",\"dateModified\":\"2022-09-07T13:47:58+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.effency.fr\/acceptteamspermissions\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.effency.fr\/#website\",\"url\":\"https:\/\/test.effency.fr\/\",\"name\":\"Effency\",\"description\":\"Le premier coach digital en efficacit\u00e9 collective\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.effency.fr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Accept Teams Permissions - Effency","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/test.effency.fr\/acceptteamspermissions\/","og_locale":"en_US","og_type":"article","og_title":"Accept Teams Permissions - Effency","og_description":"Teams admin consent Click to grant bot permission","og_url":"https:\/\/test.effency.fr\/acceptteamspermissions\/","og_site_name":"Effency","article_publisher":"https:\/\/www.facebook.com\/Effency.team\/","article_modified_time":"2022-09-07T13:47:58+00:00","twitter_card":"summary_large_image","twitter_site":"@effency_fc","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.effency.fr\/acceptteamspermissions\/","url":"https:\/\/test.effency.fr\/acceptteamspermissions\/","name":"Accept Teams Permissions - Effency","isPartOf":{"@id":"https:\/\/test.effency.fr\/#website"},"datePublished":"2022-09-07T12:28:12+00:00","dateModified":"2022-09-07T13:47:58+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.effency.fr\/acceptteamspermissions\/"]}]},{"@type":"WebSite","@id":"https:\/\/test.effency.fr\/#website","url":"https:\/\/test.effency.fr\/","name":"Effency","description":"Le premier coach digital en efficacit\u00e9 collective","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.effency.fr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/pages\/17082"}],"collection":[{"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/comments?post=17082"}],"version-history":[{"count":24,"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/pages\/17082\/revisions"}],"predecessor-version":[{"id":17113,"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/pages\/17082\/revisions\/17113"}],"wp:attachment":[{"href":"https:\/\/test.effency.fr\/en\/wp-json\/wp\/v2\/media?parent=17082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}