title: Windows Azure Graph AD Creating Group using Rest API
body: <p>I'm trying to create a group using the rest API of windows azure Graph for Office365. I'm pass the xml payload to the url <a href="https://graph.windows.net/49aa83c813-59c999-4e29-a753-25fd8caebe93/Group" rel="nofollow">https://graph.windows.net/49aa83c813-59c999-4e29-a753-25fd8caebe93/Group</a></p>
  
  <p>The payLoad which I'm passing is </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;&lt;entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&gt;&lt;content type="application/xml"&gt;&lt;m:properties&gt;&lt;d:DisplayName&gt;testingGroup&lt;/d:DisplayName&gt;&lt;d:Description&gt;Test group&lt;/d:Description&gt;&lt;d:MailEnabled&gt;true&lt;/d:MailEnabled&gt;&lt;d:DirSyncEnabled&gt;false&lt;/d:DirSyncEnabled&gt;&lt;d:SecurityEnabled&gt;false&lt;/d:SecurityEnabled&gt;&lt;d:ObjectType&gt;Group&lt;/d:ObjectType&gt;&lt;d:MailNickname&gt;firstGroup&lt;/d:MailNickname&gt;&lt;d:Mail&gt;firstGroup@companyName.us&lt;/d:Mail&gt;&lt;/m:properties&gt;&lt;/content&gt;&lt;/entry&gt;
  </code></pre>
  
  <p>I receive a 400 Error as a response. Will anyone be able to tell me the correct XML payLoad to pass.</p>