title: Using Postman to perform Azure AD auth for Azure Functions
body: <p><strong>Problem:</strong> I'm trying to use Postman to get an valid Azure AD access token that I can then use to pass on a request to an Azure Function protected by Azure Active Directory (Easy Auth).</p>
  
  <p>I've read / viewed numerous explanations on how to do this. CGillum's entire blog for example. Some of the best ones (that don't quite work for me) are:</p>
  
  <ul>
  <li><a href="https://blogs.msdn.microsoft.com/devkeydet/2016/03/22/using-postman-with-azure-ad/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/devkeydet/2016/03/22/using-postman-with-azure-ad/</a></li>
  <li><a href="https://youtu.be/ujzrq8Fg9Gc" rel="nofollow noreferrer">https://youtu.be/ujzrq8Fg9Gc</a></li>
  <li>Even a similar question that I posted: <a href="https://stackoverflow.com/questions/46757665/authentication-for-azure-functions">Authentication for Azure Functions</a></li>
  </ul>
  
  <p>I've verified that my ClientID, secret, and callback are all correct. I've ensured I have (what I think are) the correct permissions to the app I registered in my directory. I've got back a valid Bearer tokens in both of the first two examples above. No matter what though, when I pass this token back in the Authorization header I get a message that states "You do not have permission to view this directory or page."</p>
  
  <p>My hope at this point is that someone reading this will point out the obvious thing that I missed. </p>
  
  <p>Thanks in advance</p>