Comments (16)
from hack-together.
Great idea! Looking forward to seeing the code!
from hack-together.
Closed by mistake! Code submitted.
from hack-together.
Hey @nipunojha, it seems like you're not using the Microsoft Graph .NET SDK which is one of the prerequisites for hacks in this hackathon. Would you mind updating the code? 😊
from hack-together.
Lol...typical dev. Will try and change the code else will withdraw :D
from hack-together.
You've got an awesome solution. Please, don't hesitate to reach out if you get stuck moving the code over to the Microsoft Graph .NET SDK. We're here to help.
from hack-together.
Wow, @nipunojha
this is soooo cool. May I use it in electrifier?
@waldekmastykarz Would it be possible for me to use his project es an add-on?
This way, we could help each other, too. Hack2gether, right?
Regards,
thx,
tajbender
from hack-together.
Thanks @tajbender! Happy for you to use this if it is okay by @waldekmastykarz and rules permit :)
Happy to collaborate with you on the graph bit of your solution
from hack-together.
Hey @nipunojha, the first thing that I saw is that in your project you're using the Microsoft Graph .NET SDK v5 while the documentation you're referencing is for .NET SDK v4. There are some breaking changes between v5 and v4 and I think you've just hit one of them. Here's more information about how to update the QueryOptions piece to the v5 SDK: https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/7a2be45d2cf37f18a32cc9a60d0edf441fd23a08/docs/upgrade-to-v5.md#query-options.
@tajbender perfectly fine to reuse parts of this solution by me with @nipunojha permission and the credits so that we can tell what are the unique pieces that you've built and what's reused.
Awesome work folks! Looking forward to seeing your hacks!
from hack-together.
@waldekmastykarz Thanks for the pointer and reference. It helped and got me past the issue. I figured since i was doing large upload i should also do the large file download and use the unit test reference to implement the same. hopefully it is all good now
from hack-together.
from hack-together.
Thanks! Okay, I converted the large file upload using the graph sdk example here https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=csharp. Couldn't find how to use the sdk to download and delete the items yet. Will try and convert those too
from hack-together.
I am stuck at the moment facing issues with using the sdk to convert the file to pdf and need some assistance @waldekmastykarz
I tried the code from here, but my compiler doesn't recognize QueryFilter and suggested using Microsoft.TeamsFoundation.WorkItemTracking.WebApi.Models
I was also trying to check any unit tests which might help but couldn't something corresponding to this. (Will use the download large test as reference for the download option)
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/tests/Microsoft.Graph.DotnetCore.Test/Requests/Functional/OneDriveTests.cs
Package References:
<PackageReference Include="Azure.Identity" Version="1.8.2" />
<PackageReference Include="MediaTypeMap.Core" Version="2.3.3" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Core" Version="2.2.0" />
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.Graph" Version="5.0.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.50.0" />
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="5.3.0" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.0.1" />
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="16.170.0" />
from hack-together.
I hit a snag while testing. I am also running the functions on .net 6 and v4 runtime and facing issue at the creation of the graphClient microsoftgraph/msgraph-sdk-dotnet#1670
from hack-together.
I hit a snag while testing. I am also running the functions on .net 6 and v4 runtime and facing issue at the creation of the graphClient microsoftgraph/msgraph-sdk-dotnet#1670
Ouch, sorry to hear that. Would using an older version of the SDK be an option for you until we sort out how to use the SDK v5 on Azure Functions?
from hack-together.
Hey @nipunojha, were you able to have another look at the SDK? Is there anything that we could help you with?
from hack-together.
Related Issues (20)
- Project: Summarize an email (Use Cognitive Services for the summarization) and send the summary to a Teams channel. HOT 4
- Project: [Microsoft Learn Tutorial] Build dotNET apps with Microsoft Graph SDK HOT 4
- Project: Graph SDK to get calendar items and send mail HOT 1
- Project: Create Teams Meeting HOT 1
- Project: Gets a specified attributes of a signed in users profile information HOT 1
- Project: This is a sample app that get user info using the Microsoft GraphApi HOT 1
- Project: Automation in Hazardous Jobs HOT 5
- Project: An app for aggregating and sharing files from all drives in an organization HOT 6
- Project: Microsoft Teams Bot - Schedule Meetings for a Team and send the meeting link by e-mail for all members HOT 2
- Project: Financial Control HOT 6
- Project: This Web Portal Displays TeamsUser details along with their Current Availability Status HOT 5
- Project: Console app using GraphApi to see next events and create new ones HOT 5
- A helper in need on Microsoft Teams HOT 5
- Project: Convert users' meeting recordings to summarized text and send summary by email HOT 2
- Project: What was I doing again? HOT 3
- SharePoint Large File Downloader & Uploader Toolkit for the Modern Workplace HOT 4
- https://nam06.safelinks.protection.outlook.com/ap/p-59584e83/?url=https%3A%2F%2F1drv.ms%2Fp%2Fs!AuNMtEjxAns_gQpFYBenRALwSV5B%3Fe%3DXDO5eJ&data=05%7C01%7CDaisy.Chaussee%40microsoft.com%7C0c6c70c7cabf42360ca708db2616a024%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638145651782668569%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=FQhX00ygwuDCoYdb%2BDtO3ts6Y3gMn4MzceXEQa1chvo%3D&reserved=0: <short description> HOT 1
- It will be possible to write a comment in a specific cell in an excel file? HOT 1
- Project: Summarize videos hosted in Drive HOT 1
- Project: <Hack-together> HOT 1
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 hack-together.