Hi all,
I'm trying to register extended properties using Graph Client Library 2.0.3 following AAD Graph team's blog post.
But I received error that there are no 'Add' method in ExtensionProperties of application object.
I tried following.
1. Get application object from ActiveDirectoryClient and create instance named 'myApp'. => success
2. Register new extension using the same codes above. => fail
ExtensionProperty linkedInUserId = new ExtensionProperty
{
Name = "linkedInUserId",
DataType = "String",
TargetObjects = { "User" }
};
myApp.ExtensionProperties.Add(linkedInUserId); // compile error in this line since there is no 'Add' method.
await myApp.UpdateAsync();
Anyone have idea about this issue?
Regards,
Naohiro Fujie MVP for Forefront Identity Manager ( Jan 2010 - Dec 2014 )