This project has moved and is read-only. For the latest updates, please go here.

Claims Augmentation: User not found in FillClaimsForEntity

Jan 16, 2015 at 4:06 PM
When a user logs in, the claims are not augmented with groups. I have a valid user but the query doesn't find it. Here are the log entries:

[AzureCP] FillClaimsForEntity called, incoming envity: "0e.t|azure ad|", claim type: "", claim issuer: "SecurityTokenService"
[AzureCP] AzureCPConfig PersistedObject found, version: 622761, previous version: 622761
[AzureCP] Unexpected error occurred while querying tenant System.AggregateException: One or more errors occurred., Callstack:
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.Azure.ActiveDirectory.GraphClient.GraphConnection.List[T](String pageToken, FilterGenerator filter)
at azurecp.AzureCP.QueryAzureAD(FilterGenerator userFilter, FilterGenerator groupFilter, AzureTenant coco).
[AzureCP] Query on value "" did not return any result.
[AzureCP] User "0e.t|azure ad|" with "GraphProperty" UserPrincipalName claim tye "" was not found in Azure tenant(s).

A Powershell query for the user returns:

Jan 22, 2015 at 12:53 PM
Hello, can you please try with the latest version ?
It is a lot more reliable and logging was also improved to record relevant messages.
Jan 23, 2015 at 7:59 PM
Hi Yvand,
I upgraded to v41343 and changed my Identifier claim to use UPN. Claims augmentation is working fine now. Thanks for the new version!
Marked as answer by Yvand on 1/27/2015 at 4:11 AM
Jan 27, 2015 at 12:11 PM
Good to know, thanks for the feedback :)