The reason why you are getting this error is because CamlQuery.ViewXml property expects a valid CAML query enclosed within View element.
Here are a few examples on how to construct a CAML query:
For empty query
var camlQuery = new CamlQuery();
camlQuery.ViewXml = "<View/>";
For predefined query
var camlQuery = CamlQuery.CreateAllItemsQuery();
For anonymous access you can use a dedicated SP Site Collection or a Forms form.
A form in Forms would be the neat way. People would type the data in the form and a Flow could be triggered to write the data in to SharePoint. Thus you isolate the input area from the working area and work on high security level.
A SharePoint Site Collection would need a lot ...
I do my provisioning for SharePoint online with Azure Functions and for me the cost has been nothing or cents in small environments. It all depends on your usage. You only pay for what you use and you get free usage every month: https://azure.microsoft.com/en-us/pricing/details/functions/
The only downside of an Azure Function is the maximal runtime of 5 ...
I believe you can achieve this using Azure Function as well. But I would recommend you to Checkout the Logic App with Sharepoint connector. With Azure Logic Apps and the SharePoint connector, it's easy to create items in SPO and trigger the flow on schedule.
As for the Azure function, you ...
No, we need to create six different functions, just create a single function in Azure and dynamically handle the parameters. And the function must have a site template parameter along with other site metadata (parameters like title, URL, owner, etc).
In your site creation configuration list one choice column should be "Select Template" where all six ...
SharePointPnPCoreOnline is a wrapper around CSOM, which is not compatible with .NET Core without a bit of hacking.
You need to use full .NET Framework, and V1 of the Functions runtime, in order to use that Nuget package with Azure Functions.
You can use the latest version of PnP Core in Azure Functions v1.
In your project, you first need to install the latest Newtonsoft.JSON package or atleast a version of it > 10.0.3 via Nuget packages.
After that is done, you can install the latest SharePointPnPCoreOnline package.
That's it, after they are installed in the above mentioned sequence, you ...
For #1 you should contact subscription owner and ask which plan is better.
For #2 - Azure calculates pricing for functions based on how many memory you selected and how many seconds your function runs. It's called GB/s in their terminology.
In your case, it will calculate memory * amount of seconds when your console app is running.
For example even in a case,...
Basically, there are a few key factors you should take into consideration.
Functions have two types of billing schemes:
Consumption and App Service.
In consumption you pay only for a time when you function is running, however, under consumption plan, your function can't run more than 10 minutes. Which means, that if your jobs run more than 10 minutes ...