Questions tagged [azure-functions]

Azure Functions is an event-driven serverless compute platform in Azure and Azure Stack. Its open-source runtime also works on multiple destinations including Kubernetes, Azure IoT Edge, on-premises, and other clouds.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

regarding orgcontacts using azure function with delegated permissions

Hi Is it possible to create a HTTP trigger azure function with graph API with delegate permissions to read all orgcontacts. I created one using this link which works but it requires App permissions. ...
0
votes
1answer
14 views

ContentType from ContentTypeHub takes time to be available in Team Site

I currently use PnP cmdlets to provision a Team Site and want to apply a PnP template that refers to a ContenType usually published by the ContentType Hub. Right now, when I try that, it usually fails ...
0
votes
1answer
13 views

Assign Member to Group via Powershell Graph API Call throws Request_BadRequest

Calling the following code: $uri = "https://graph.microsoft.com/v1.0/groups/[groupID]/members/`$ref" $body = (@{'@odata.id'='https://graph.microsoft.com/v1.0/directoryObjects/[memberID]'} | ConvertTo-...
0
votes
0answers
29 views

How do I programmatically add a custom webpart from the global app catalog to a team site page

I have a spfx webpart application deployed globally on my tenant. I want to automate the process of provisioning team sites that will use the webparts from the mentioned spfx application. I'm using ...
0
votes
1answer
83 views

Pnp Provisioning

I have successfully followed (well almost got this working) this blog, however I am stuck as I do not understand if i have 6 different site templates how to pick the one to apply. This is all feeding ...
1
vote
0answers
73 views

The SharePoint Online returns a Cryptographic exception to the Function apps

I have some function apps which execute every 15 minutes. These function apps connect to many SharePoint sites and get the respective list items. The function apps are written in Visual Studio 2019 C# ...
0
votes
0answers
27 views

Sharepoint giving 401 unauthorized error instead for 404 file not found for a site that doesnt exists using CSOM

I have created an azure function which gets the site name from the end user and uses CSOM code to get the owners of a sharpoint online site collection using service account credentials. Now there are ...
1
vote
1answer
185 views

Using SharePointPnPCoreOnline with Azure Function(v1)

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 ...
0
votes
1answer
117 views

Using SharePointPnPCoreOnline with Azure Function

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 ...
0
votes
0answers
26 views

_api/search/suggest?querytext='*' returns empty result using azure AD authention

I am calling the search api _api/search/suggest?querytext='*' using httpClient in azure functions. Authentication is done via azure AD application. Application permissions sites.fullcontrol is ...
0
votes
0answers
239 views

Azure Functions and SharePoint Online - Newtonsoft.Json issue when calling ClientContex's “CreateSiteAsync” function

I'd like my Azure Function to be triggered on Azure Queue events, and use the event data when communicating with SharePoint Online. The first SharePoint task would be to provision new sites based on ...
0
votes
0answers
174 views

Microsoft.NET.Sdk.Functions and SharePointPnPCoreOnline not compatible

I'm developing a simple Azure Function project that uses the NuGet package Microsoft.NET.Sdk.Functions (version 1.0.29) to trigger on incoming Azure Storage Queue message, and uses ...
0
votes
1answer
55 views

Make a Zip archive by clicking a button from PowerApps

It will be great if you can select multiple items in a SharePoint Library an make a Zip archive by clicking a button from powerApps in SharePoint Online. To download or Send to OneDrive or something ...
0
votes
0answers
44 views

SP Designer 2013 workflow call http post request- Azure Function

I am trying to call Azure http function with the help of SharePoint designer workflow call http action (POST) and passing the payload. The call to Azure function is happening but as GET call not POST. ...
2
votes
0answers
215 views

Access a document in SharePoint library from Azure functions

I am relatively new in Microsoft's world. I started on it three months ago and I have a doubt about the connection between SharePoint online (specifically, with libraries and lists), Microsoft Flow ...
0
votes
1answer
32 views

Using Bing Custom Search to integrate results from Bing for Business

Team, I have gone through the articles for Microsoft search for bing.com. It says we have to enable few features in Azure. Once we have configured in Azure portal through orgnaization login we can ...
0
votes
1answer
453 views

OfficeDevPnP.Core used in azure function (v1), alternatives

it looks like not possible to prepare an Azure function dealing with the newer small features like dealing with client side pages (e.g. headers part) and any newer as up coming "Page Site Templates": ...
1
vote
1answer
2k views

400 bad request while connecting to sharepoint site using Azure Function app

I am new to Azure Functions. I am creating a function to call a SharePoint site but stuck at execute query. Here is my code - var password = "Somepassword"; var username = "Some login name"; var Url ...
1
vote
1answer
77 views

Which Azure Functions App's Subscription plan best suites calling a .exe console application on daily basis

I am working on a SharePoint online site which contain a custom list. now i want to host a console application inside Azure Function App, and trigger it to run daily @ 1:00 am. the console application ...
1
vote
2answers
285 views

Azure web jobs vs Azure functions-which one is best for migrating timer jobs to SharePoint Online and why?

We are migrating our SharePoint environment to O365. i am not sure whether to use azure web jobs or functions to migrate timer jobs to SharePoint Online. please let me know that what will be the best ...
0
votes
1answer
235 views

How to Call 3rd party API using Azure function and display in SharePoint online Site using SPFx?

I have create one azure function to call 3rd party API and used application ID in SPFx webpart but when on 'gulp serve' it shows error. I have tried in both team site as well as developer site. I am ...
3
votes
2answers
1k views

SharePoint online anonymous contact form

We have E5 Office 365 subscription. Now we have requirement that we have to put anonymous page where public will add data and that data should go to SharePoint Online custom list. We have Azure ...
1
vote
2answers
121 views

Run PnP provisioning script in the cloud

With SP2010, we had our site provisioning process on the server. Now, with SharePoint Online, we have no servers anymore, we got PnP provisioning, that is great, but now I wonder, can I put the PnP ...
1
vote
1answer
546 views

Azure function CSOM The remote server returned an error:(400) bad request

I am trying to make a simple query to sharepoint online using Azure function created in VS2017. My code looks like below: List mylist = myweb.Lists.GetByTitle(listName); CamlQuery camlQuery = new ...
3
votes
0answers
141 views

AAD registered Azure Functions + GraphAPI + SharePoint Online?

If my Azure function app and SPO are registered in the same AAD can GraphAPI Delegated be used to write to SPO Lists as the calling user without additional authentication libraries or steps? White ...