Comments (7)
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.
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.
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.
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.
@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.
C# layer work not resourced for [Mn].
from cpp_client_telemetry.
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)
- Make non-static LogManager class accessible through WinRT
- Crash in SetTransmitProfile HOT 1
- Memory Leak in initializing database HOT 3
- How to compile the SDK with CS 4.0 in Android in command line? HOT 2
- Linker errors on macOS sample project HOT 1
- How is the value for DeviceInfo_Id getting populated by the 1DS sdk? HOT 1
- No separation between sent and sending events HOT 1
- Multi-process support for Android HOT 1
- Crash during Upload on OfflineStorageSQLite HOT 1
- Change CFG_STR_COLLECTOR_URL after initializing HOT 4
- How to set cV, ingest PartA extension, user#authId through SDK? HOT 6
- Consecutive event loss with log "Maximum number of HTTP requests reached" HOT 1
- FlushAndTeardown is insufficient to save data to disk
- Unable to determine when all events have been uploaded HOT 1
- Android crash on LogManager::UploadNow() HOT 10
- Data race in OfflineStorageHandler::GetAndReserveRecords
- OfflineStorage_Room::GetAndReserveRecords crash in Android HOT 6
- [Vision Pro Support] visionOS related changes in OneDS SDK HOT 8
- Does CFG_STR_CACHE_FILE_PATH need to be a full path or can it just be a file name? HOT 1
- How does the SDK send array types?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp_client_telemetry.