I have a WCF service hosted by Azure and secured by Azure AD. when I use the web to access the service I am prompted with the Azure login,after a successful login,I reach the data. I am trying to access the data form Winforms, I reach the OAuth2 login screen, I successfully login and get the token. I add the token to the context headers, but still receive this message: InnerException = "You do not have permission to view this directory or page."
LOG: Warning JWT validation failed: IDX10214: Audience validation failed
What I have tried:
tried to register the apps, also tried adding my scope to the app trusted Uris