title: AADSTS70011: The provided value for the input parameter 'scope' is not valid
body: <p>So I have a scenario wherein the application should add users to a group on certain conditions. Also when the application starts running users should not be asked to login their microsoft id/pwd.</p>
  <p>So I access the token I created using Graph Service Client object as follows:</p>
  <pre class="lang-cs prettyprint-override"><code>    GraphServiceClient graphClient = new GraphServiceClient(
          &quot;https://graph.microsoft.com/v1.0&quot;, 
          new DelegateAuthenticationProvider(
              async (requestMessage) =&gt;
              {
                  string clientId = &quot;My APP ID&quot;;
                  string authorityFormat = &quot;https://login.microsoftonline.com/{0}/v2.0&quot;;
                  string tenantId = &quot;tenant GUID&quot;;
                  string[] _scopes = new string[] { 
                      &quot;https://graph.microsoft.com/User.ReadBasic.All&quot; 
                  };
                  // Custom Redirect URI asigned in the Application Registration 
                  // Portal in the native Application Platform
                  string redirectUri = &quot;https://localhost:4803/&quot;; 
                  string clientSecret = &quot;App Secret&quot;;
                  ConfidentialClientApplication daemonClient = new ConfidentialClientApplication(
                      clientId, 
                      String.Format(authorityFormat, tenantId), 
                      redirectUri, 
                      new ClientCredential(clientSecret), 
                      null, new TokenCache()
                  );
                  AuthenticationResult authResult = await daemonClient.AcquireTokenForClientAsync(_scopes);
                  string token = authResult.AccessToken;
                  requestMessage.Headers.Authorization = new AuthenticationHeaderValue(&quot;bearer&quot;, token);
              }
         )
      );
  </code></pre>
  <p>So I try to execute
  <code>var user = await graphClient.Me.Request().GetAsync();</code></p>
  <p>I get this error:</p>
  <blockquote>
  <p>AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope user.read is not valid.</p>
  </blockquote>
  <p>I also tried using just <code>User.ReadBasic</code> as scope, but get the same error.</p>
  <p>What am I doing wrong here?</p>