piasys / conferences-samples Goto Github PK
View Code? Open in Web Editor NEWCode samples shared in demos at conferences worldwide
License: MIT License
Code samples shared in demos at conferences worldwide
License: MIT License
I have been trying to implement PnP Core in my Azure Functions which are build on .Net Core 3.1. For some reason while i am trying to access Sharepoint Via Pnp. I keep getting this SSL Error. Will you be able to help. My Code at the moment is not fancy
` var host = Host.CreateDefaultBuilder()
.ConfigureLogging((hostingContext, logging) =>
{
})
.ConfigureServices((hostingContext, services) =>
{
services.AddPnPCore();
services.Configure<PnPCoreOptions>(hostingContext.Configuration.GetSection("PnPCore"));
services.AddPnPCoreAuthentication();
services.Configure<PnPCoreAuthenticationOptions>(hostingContext.Configuration.GetSection("PnPCore"));
})
.UseConsoleLifetime().Build();
await host.StartAsync();
using (var scope = host.Services.CreateScope())
{
var pnpContgextFactory = scope.ServiceProvider.GetRequiredService<IPnPContextFactory>();
//ShowAuthenticationModel("");
using (var context = await pnpContgextFactory.CreateAsync("DemoSite"))
{
var s = await context.Web.GetAsync(p => p.Title);
Console.WriteLine(s.Title.ToString());
}
}`
will you be able to help me ? and solve this issue ?
Hi @PaoloPia
I was trying to implement a subscription to receive notifications the same way that you have done in this solution MSGraphSDK4Subscriptions but I stumbled upon an issue with decrypt the encryptedContent.
Message: Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException: 'Access denied.'
Code where it raises the issue:
var attachedMessage = await notificationItem.EncryptedContent.DecryptAsync<ChatMessage>((id, thumbprint) => Task.FromResult(certificate));
do you maybe have any clue on where the issue might be.
Appreciate your support.!
Hi, I get an error if I apply your Sample (demo-team-template-with-spo.xml - https://github.com/PiaSys/Conferences-Samples/blob/master/Teams-Provisioning/demo-team-template-with-spo.xml):
"Cannot apply Provisioning template: Exception while invoking endpoint https://graph.microsoft.com/v1.0/groups?$select=id&$filter=id%20eq%20'%7Bsequencesitegroupid%3ATEAM.SITE.01%7D'.",
Could you help? What should i do?
Hi,
I'm running PiaSys.Team.Provisioning sample (/Teams-Provisioning/piasys-team-provisioning/PiaSys.Team.Provisioning/TemplatesProvider/).
In SPOTemplatesProvider.cs the following line return null
_ProvisioningHierarchy tenantTemplate = provider.GetHierarchy(xmlTemplateFileName);
I have put it in a doclibrary, get correctly access token (by certificate) ...
maybe xmlTemplateFileName is wrong, but l'im using your https://github.com/PiaSys/Conferences-Samples/blob/master/Teams-Provisioning/demo-team-template-with-spo.xml
Some idea ?
Thanks
This sample was helpful to get started but it does not redirect to the listview after save or cancel. I do not see how it calls this.formSaved() which I think is required. It would be very helpful to see how you did that as it is not available in the MSFT documentation at this time, from what I can tell.
Thank you
https://github.com/PiaSys/Conferences-Samples/tree/master/spfx-list-forms
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.