Giter Club home page Giter Club logo

Comments (7)

maxgolov avatar maxgolov commented on May 18, 2024

Need to add sample for:

std::wstring serviceUrl = Mso::AB::Setting<std::wstring>(L"Microsoft.Office.Telemetry.MsaDeviceAuthServiceUrl", L"https://events.data.microsoft.com/OneCollector/1.0/");
std::wstring protocol = Mso::AB::Setting<std::wstring>(L"Microsoft.Office.Telemetry.MsaDeviceAuthPolicy", L"NFS_1wk_compact_SSL");
hr = onlineIdServiceTicketRequestFactory->CreateOnlineIdServiceTicketRequest(
    HStringReference(serviceUrl.c_str()).Get(),
    HStringReference(protocol.c_str()).Get(),
    &onlineIdServiceTicketRequest);

from cpp_client_telemetry.

maxgolov avatar maxgolov commented on May 18, 2024

Note that MRW team might be needing this example for UWP C# app as well.
It is not clear if we can rely on OnlineId service API from Universal Store app.

from cpp_client_telemetry.

botrif avatar botrif commented on May 18, 2024

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?

from cpp_client_telemetry.

maxgolov avatar maxgolov commented on May 18, 2024

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.

from cpp_client_telemetry.

maxgolov avatar maxgolov commented on May 18, 2024

@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.

from cpp_client_telemetry.

maxgolov avatar maxgolov commented on May 18, 2024

C# layer work not resourced for [Mn].

from cpp_client_telemetry.

maxgolov avatar maxgolov commented on May 18, 2024

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.

from cpp_client_telemetry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.