Coder Social home page Coder Social logo

piasys / conferences-samples Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 33.0 18.35 MB

Code samples shared in demos at conferences worldwide

License: MIT License

JavaScript 32.90% TypeScript 32.15% CSS 0.96% PowerShell 1.11% C# 17.98% HTML 3.81% SCSS 4.44% ASP.NET 0.01% Dockerfile 0.11% Batchfile 0.41% Swift 1.43% Bicep 0.62% TSQL 0.01% Jupyter Notebook 4.07%

conferences-samples's People

Contributors

paolopia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

conferences-samples's Issues

.NET Core + System.Net.Http.HttpRequestException: 'The SSL connection could not be established, see inner exception

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());


            }
        }`

image

image

will you be able to help me ? and solve this issue ?

GetHierarchy return null

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

changeNotification.EncryptedContent.DecryptAsync() is always returning error

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

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'.",

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?

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.