Skip to main content

Questions tagged [office-dev-pnp]

Office 365 Developer Patterns and Practices

1 vote
1 answer
255 views

I have a console application in which I am logging into SharePoint using code below. try { var authManager = new OfficeDevPnP.Core.AuthenticationManager(); using (var clientContext = ...
Dhruvil Prajapati's user avatar
0 votes
1 answer
36 views

I am trying to apply custom theme to my site collection but getting below error while applying: Error CS0117 'SharePointTheme' does not contain a definition for 'customtheme' Below is my code line: ...
kumar's user avatar
  • 149
1 vote
2 answers
3k views

I am trying to register PnP PowerShell Enterprise app and currently app is requesting 27 different permissions . I would like minimize the number of permissions requested by PnP PowerShell . In my ...
Kiran Kumar Talikoti's user avatar
3 votes
0 answers
507 views

With the classic PnP you could authenticate with something like this: public static ClientContext GetAppContext(string siteUrl, string appId, string appSecret, string appName, OfficeDevPnP.Core....
Thomas Segato's user avatar
0 votes
1 answer
3k views

In my project, there is a requirement to create Site Collection with Office 365 group, so I have used following method CreateUnifiedGroup of OfficeDevPnP.Core.Framework.Graph namespace. Here is the ...
Pradip R.'s user avatar
  • 2,317
0 votes
1 answer
76 views

I'm after a reliable REST API JS library i can use to build a custom solution using SharePoint Online backend rest services. This app would be hosted outside the SharePoint context I know of this the ...
naijacoder's user avatar
  • 4,368
1 vote
1 answer
2k views

I've been using an OfficeDevPnp.Core.AuthenticationManager for a long time, in order to support MFA for PowerShell scripts targeting SharePoint Online with CSOM. For my current task, DEV is on tenant-...
sasfrog's user avatar
  • 314
1 vote
2 answers
4k views

I need to log into a SharePoint tenant using an admin account that uses MFA. This is the code. var authManager = new OfficeDevPnP.Core.AuthenticationManager(); var context = authManager....
cescara's user avatar
  • 43
1 vote
0 answers
1k views

I am currently facing a strange behaviour with the SharePoint provisioning engine. I am targeting a SharePoint 2019 on-premise version. I am quite sure that this problem is related to authentication, ...
Lancelot's user avatar
  • 175
2 votes
0 answers
159 views

I'm using the PnP extension ApplyProvisioningTemplate to apply an XML site template as part of our provisioning process, a C# API running in Azure. One of the ClientSideWebPart we use is News. I have ...
Mattias Lindberg's user avatar
2 votes
1 answer
3k views

I'm trying to insert a user field value using people picker in SPFX solution using PNP, but I'm getting the below error. I'm copying the code below which I'm using and the error too which I'm getting ...
Muskan's user avatar
  • 886
1 vote
1 answer
606 views

I am creating my first Azure Function(V1) with SharePointPnPCoreOnline package and Visual Studio 2019/2017. When I created a function project without SharePointPnPCoreOnline its working without any ...
Ravi Khambhati's user avatar
0 votes
1 answer
449 views

I am creating my first Azure Function(with .net core 3.0) with SharePointPnPCoreOnline package. When I created a function project without SharePointPnPCoreOnline its working without any error. But ...
Ravi Khambhati's user avatar
0 votes
1 answer
2k views

I am creating my first logic app which connects to SharePoint and adds entries into some sharepoint list. Whenever I create a SharePoint Connection it adds below resource to my logic app. { "type":...
Ravi Khambhati's user avatar
0 votes
1 answer
477 views

I am not finding the right XML schema to include it in my PNP provisioning template. How can I include settings called "New and existing guests" for external sharing while provisioning a site using ...
raj's user avatar
  • 1

15 30 50 per page
1
2 3 4 5