title: what scope must set with a registered app with clientsecret MSAL
body: <p>I have succesfull used ADAL and want to upgrade to MSAL.
  I used the follow code with ADAL</p>
  
  <pre><code>        var tenantId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
          var clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
          var clientSecret = @"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
          var applicationId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
          var authority = $"https://login.microsoftonline.com/{tenantId}";
          var ac = new AuthenticationContext(authority);
          var clientCred = new ClientCredential(clientId, clientSecret);
          var authenticationResult = ac.AcquireTokenAsync(applicationId, clientCred).Result;
          string authToken = authenticationResult.AccessToken;
  </code></pre>
  
  <p>With this code I get a valid access token to access the web app</p>
  
  <p>With MSAL I don't know what to use for scope. The default graph scope give me a valid token but not  access to my application.</p>
  
  <pre><code>            IConfidentialClientApplication app = ConfidentialClientApplicationBuilder.Create(clientId)
              .WithClientSecret(clientSecret)
              .WithAuthority(new Uri(authority))
              .Build();
  
          var authenticationResult2 = await app.AcquireTokenForClient(new []{ "https://graph.microsoft.com/.default" }).ExecuteAsync();
          string authToken2 = authenticationResult2.AccessToken;
  </code></pre>
  
  <p>Where can I find a valid scope for the application.
  <a href="https://i.stack.imgur.com/KZnYr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KZnYr.png" alt="enter image description here"></a></p>