{"id":25118056,"url":"https://github.com/bovrhovn/sample-azure-calling-sharepoint","last_synced_at":"2025-10-23T00:31:17.623Z","repository":{"id":216057681,"uuid":"730094988","full_name":"bovrhovn/sample-azure-calling-sharepoint","owner":"bovrhovn","description":"Demonstration how to leverage Azure with custom web app to call SharePoint API","archived":false,"fork":false,"pushed_at":"2024-02-21T13:36:47.000Z","size":963,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-22T08:41:35.636Z","etag":null,"topics":["asp-net-core","csharp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bovrhovn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-11T07:37:50.000Z","updated_at":"2024-02-22T08:41:35.637Z","dependencies_parsed_at":"2024-01-08T08:53:06.748Z","dependency_job_id":null,"html_url":"https://github.com/bovrhovn/sample-azure-calling-sharepoint","commit_stats":null,"previous_names":["bovrhovn/sample-azure-calling-sharepoint"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bovrhovn%2Fsample-azure-calling-sharepoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bovrhovn%2Fsample-azure-calling-sharepoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bovrhovn%2Fsample-azure-calling-sharepoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bovrhovn%2Fsample-azure-calling-sharepoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bovrhovn","download_url":"https://codeload.github.com/bovrhovn/sample-azure-calling-sharepoint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237754137,"owners_count":19360654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asp-net-core","csharp"],"created_at":"2025-02-08T03:39:13.957Z","updated_at":"2025-10-23T00:31:12.091Z","avatar_url":"https://github.com/bovrhovn.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample to demonstrate Azure calling SharePoint\n\nDemonstration how to leverage Azure with web app to call SharePoint API in a context of a currently signed in user.\n\n## Technology used\n\nThe solution will use following technology:\n- [Bootstrap CSS](https://getbootstrap.com/) for design\n- [ASP.NET](https://asp.net) as a technology to provide UI and code to call the API's\n- [Azure Application Insights](https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview) to get information about metrics / logs and to build interactive, rich dashboards\n- [PowerShell](https://docs.microsoft.com/en-us/powershell/) support for Automating operations, scripting and deploying the environment\n\n## Minimal requirements\n\n1. an active [Azure](https://www.azure.com) subscription - [MSDN](https://my.visualstudio.com) or trial\n   or [Azure Pass](https://microsoftazurepass.com) is fine - you can also do all of the work\n   in [Azure Shell](https://shell.azure.com) (all tools installed) and by\n   using [Github Codespaces](https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace)\n2. [PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2)\n   installed - we do recommend an editor like [Visual Studio Code](https://code.visualstudio.com) to be able to write\n   scripts, YAML pipelines and connect to repos to submit changes.\n3. [OPTIONAL] [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/) installed to work with Azure or Azure PowerShell\n   module installed\n4. [OPTIONAL] [Windows Terminal](https://learn.microsoft.com/en-us/windows/terminal/install) to be able to work with\n   multiple terminal Windows with ease\n\nIf you will be working on your local machines, you will need to have:\n\n1. [Powershell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)\n   installed\n2. git installed - instructions step by step [here](https://docs.github.com/en/get-started/quickstart/set-up-git)\n3. [.NET](https://dot.net) installed to run the application if you want to run it locally\n4. an editor (besides notepad) to see and work with code, scripts and more (for\n   example [Visual Studio Code](https://code.visualstudio.com) or [NeoVim](https://neovim.io/))\n\n## Step by step deployment\n\nTo prepare the environment, you can run the following script in your PWSH terminal:\n\n```powershell\n#to go root folder where you cloned the repo f.e. C:\\Work\\Project\nSet-Location \"C:\\Work\\Project\\Scripts\"\nAdd-DirToSystemEnv -RestartCurrentSession\nInit-Environment -Location \"WestEurope\"\n\n```\n\nIt will create resource for you to be able to work with:\n\n1. Resource group with name and tags (you can change values in [parameters](bicep/rg.parameters.json) file)\n2. Log Analytics workspace with per gb sku (you can change values in [parameters](bicep/log-analytics.parameters.json)\n   file)\n3. Application Insights assigned to Log Analytics workspace (you can change values\n   in [parameters](bicep/application-insights.parameters.json) file)\n4. Azure Web App to showcase the integration and UI interfaces.\n\n## Knowledge expected\n\nThis sample requires from you basic understanding of:\n\n1. Azure - learning path is available [here](https://learn.microsoft.com/en-us/training/azure/)\n   - [certifications](https://learn.microsoft.com/en-us/certifications/browse/?resource_type=certification\u0026products=azure%2Csql-server%2Cwindows-server\u0026type=fundamentals%2Crole-based%2Cspecialty\u0026expanded=azure%2Cwindows)\n   like AZ 900 can help\n2. [Git](https://git-scm.com/book/en/v2) to understand how to clone, fork, branch, merge, rebase, etc.\n3. [scripting](https://en.wikipedia.org/wiki/Scripting_language#Examples) -\n   either [PowerShell](https://en.wikipedia.org/wiki/PowerShell)\n   or [bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)) (if you will decide to go this path)\n\n# Additional information\n\nYou can read about different techniques and options here:\n\n1. [What-The-Hack initiative](https://aka.ms/wth)\n2. [GitHub and DevOps](https://resources.github.com/devops/)\n3. [Azure Samples](https://github.com/Azure-Samples)\n   or [use code browser](https://docs.microsoft.com/en-us/samples/browse/?products=azure)\n4. [Azure Architecture Center](https://docs.microsoft.com/en-us/azure/architecture/)\n5. [Application Architecture Guide](https://docs.microsoft.com/en-us/azure/architecture/guide/)\n6. [Cloud Adoption Framework](https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/)\n7. [Well-Architected Framework](https://docs.microsoft.com/en-us/azure/architecture/framework/)\n8. [Microsoft Learn](https://docs.microsoft.com/en-us/learn/roles/solutions-architect)\n\n# Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbovrhovn%2Fsample-azure-calling-sharepoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbovrhovn%2Fsample-azure-calling-sharepoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbovrhovn%2Fsample-azure-calling-sharepoint/lists"}