title: Microsoft Graph OnlineMeeting API returning Status: NotFound (404) error
body: <p>I am trying to create online meeting using below code and passing all the details of app registration.
  Still its returning 404 error.</p>
  <pre><code>
  static string[] scopes = new string[] { &quot;https://graph.microsoft.com/.default&quot; };
      
  IConfidentialClientApplication app = ConfidentialClientApplicationBuilder.Create(LaiAppClientID).WithClientSecret(Secret).WithRedirectUri(redirectURI).Build();
      
  AuthorizationCodeProvider authProvider = new AuthorizationCodeProvider(app, scopesssss);
      GraphServiceClient graphClient = new GraphServiceClient(authProvider);
      
  graphClient = new GraphServiceClient(&quot;https://graph.microsoft.com/beta&quot;,
                           new DelegateAuthenticationProvider(
                                async (requestMessage) =&gt;
                                {
                                    var token = await app.AcquireTokenForClient(scopesssss).WithAuthority(String.Format(&quot;https://login.microsoftonline.com/{0}/oauth2/v2.0/token&quot;, tenantID), true).ExecuteAsync();
                                    requestMessage.Headers.Authorization = new AuthenticationHeaderValue(&quot;bearer&quot;, token.AccessToken);
                                 
                                }));
      
  var onlineMeeting = new OnlineMeeting
                  {
                      StartDateTime = DateTimeOffset.Parse(&quot;2021-07-12T21:30:34.2444915+00:00&quot;),
                      EndDateTime = DateTimeOffset.Parse(&quot;2021-07-12T22:00:34.2464912+00:00&quot;),
                      Subject = &quot;My First MS Teams Meeting&quot;,
                      AudioConferencing= audioConferencing
      
                  };
      
  var task = Task.Run(async () =&gt;
                  {
                      return await graphClient.Me.OnlineMeetings.Request().AddAsync(onlineMeeting);
                      
                  });
  var d = task.Result;
  
  </code></pre>
  <p><a href="https://i.stack.imgur.com/dpL4Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dpL4Y.png" alt="enter image description here" /></a></p>