This project has moved. For the latest updates, please go here.

Claims Augmentation: User not found in FillClaimsForEntity

Jan 16, 2015 at 3: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|sptest001@xxx.onmicrosoft.com", claim type: "http://schemas.microsoft.com/sharepoint/2009/08/claims/userid", claim issuer: "SecurityTokenService"
[AzureCP] AzureCPConfig PersistedObject found, version: 622761, previous version: 622761
[AzureCP] Unexpected error occurred while querying tenant southwire.onMicrosoft.com: 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 "sptest001@xxx.onmicrosoft.com" did not return any result.
[AzureCP] User "0e.t|azure ad|sptest001@xxx.onmicrosoft.com" with "GraphProperty" UserPrincipalName claim tye "http://schemas.microsoft.com/sharepoint/2009/08/claims/userid" was not found in Azure tenant(s).

A Powershell query for the user returns:

UserPrincipalName

SPTest001@xxx.onmicrosoft.com
Coordinator
Jan 22, 2015 at 11:53 AM
Hello, can you please try with the latest version ?
It is a lot more reliable and logging was also improved to record relevant messages.
cheers,
Yvan
Jan 23, 2015 at 6: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
Coordinator
Jan 27, 2015 at 11:11 AM
Good to know, thanks for the feedback :)