Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Register extension using Graph Client Library 2.0.3

$
0
0

Hi all,

I'm trying to register extended properties using Graph Client Library 2.0.3 following AAD Graph team's blog post.

http://blogs.msdn.com/b/aadgraphteam/archive/2014/12/12/announcing-azure-ad-graph-api-client-library-2-0.aspx?wa=wsignin1.0

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 )


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>