title: Azure Portal: Bad Request - Request Too Long
body: <p>I just received the following error when I tried to run a <a href="https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-policies" rel="noreferrer">built-in b2c</a> edit policy from <a href="https://portal.azure.com" rel="noreferrer">portal.azure.com</a>.  I have 2 tabs of the portal open.  Why am I receiving this error?</p>
  
  <blockquote>
    <p>Bad Request - Request Too Long
    HTTP Error 400. The size of the request headers is too long.</p>
  </blockquote>
  
  <p>Note: I experienced <a href="https://github.com/Azure-Samples/active-directory-b2c-dotnet-webapp-and-webapi/issues/10" rel="noreferrer">this same error message</a> when testing <a href="https://github.com/Azure-Samples/active-directory-b2c-dotnet-webapp-and-webapi" rel="noreferrer">active-directory-b2c-dotnet-webapp-and-webapi sample project</a>.  The reason provided was I was sending too many cookies.  Is it the same problem?</p>
  
  <p>If it is the same problem, shouldn't stale <a href="https://stackoverflow.com/questions/2144386/how-to-delete-a-cookie">cookies be deleted</a> before creating new ones?</p>
  
  <hr>
  
  <p>I do see a lot of cookies for <a href="https://login.microsoftonline.com" rel="noreferrer">https://login.microsoftonline.com</a></p>
  
  <p><a href="https://i.stack.imgur.com/81v2e.png" rel="noreferrer"><img src="https://i.stack.imgur.com/81v2e.png" alt="chrome cookies node"></a></p>
  
  <p><a href="https://i.stack.imgur.com/zUPY8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zUPY8.png" alt="screen shot 1 of cookies"></a>
  <a href="https://i.stack.imgur.com/4bRkx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4bRkx.png" alt="screen shot 2 of cookies"></a></p>