-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Provide a code sample to show how to obtain g: ID device ticket using OnlineId API #29
Comments
Need to add sample for:
|
Note that MRW team might be needing this example for UWP C# app as well. |
While I'm finding the other APIs in C#, I can't find onlineIdServiceTicketRequestFactory. The ctor for OnlineIdServiceTicketRequest takes a service and policy string. Do you think I can simply use the above two strings directly? |
Please try passing this and let us know if you are getting the proper ticket value. One option is to try C++ SDK and compare if you get the same ticket using C# API you mentioned. |
@reyang - this ask is unique to C# customers using Direct Upload mode. At this time we do not have a documented / confirmed way of obtaining MSA User Id token from a C# app layer. This is not an issue for native C++ layer on Windows, specific only to C# layer. One suggestion is for the customer to explore what options are available, possibly for the customer to follow-up with ADAL team on that. |
C# layer work not resourced for [Mn]. |
Currently this C# SDK-related work is not resourced. Best course of action for someone needing to obtain MSA User ID ticket is to reach out to ADAL team or explore how the ticket acquisition is done in native code by Edge and Office teams. Closing this. Won't fix. |
Our existing customers (MS Office, Edge) utilize OnlineId API to retrieve a global device ticket presentable to Collector++ service. That API allows to uniquely identify the global MSA Device Id, that a device gets assigned once during Windows installation.
Unfortunately there is no reference code example in SDK how to do that. Other customers are interested in enabling that flow and frequently asking for a customer sample.
The text was updated successfully, but these errors were encountered: