title: Azure Active Directory copy data source connection with "SharePoint Online"
body: <p>I am connecting to a linked service to SharePoint Online using Azure Data Factory. I have admin access to everything on my site and in the Active Directory.</p>
  <p>I have granted <code>Site.FullControl()</code> permission to my site in &quot;App registration&quot; and also granted in SharePoint site  but still it is showing me I don't know what else to do.</p>
  <p>This is the error I get:</p>
  <blockquote>
  <p>Failed to get metadata of OData service, please check if service URL and credential is correct and your application has permission to the resource. Expected status code: 200, actual status code: Unauthorized, response is : {&quot;error&quot;:&quot;invalid_request&quot;,&quot;error_description&quot;:&quot;Token type is not allowed.&quot;}.<br />
  Activity ID: 4cc5411a-2932-40c9-baaa-c77a22f9270a.</p>
  </blockquote>