Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to latest SPFx version and graph call replaced with azure function #4697

Merged
merged 2 commits into from
Feb 10, 2024

Conversation

HarminderSethi
Copy link
Contributor

@HarminderSethi HarminderSethi commented Feb 10, 2024

By submitting this pull request, you agree to the contribution guidelines

If you aren't familiar with how to contribute to open-source repositories using GitHub, or if you find the instructions on this page confusing, sign up for one of our Sharing is Caring events. It's completely free, and we'll guide you through the process.

To submit a pull request with multiple authors, make sure that at least one commit is a co-authored commit by adding a Co-authored-by: trailer to the commit's message. E.g.: Co-authored-by: name <[email protected]>

Put an x in all the items that apply ([x], no spaces between the [, the x, and the ] ), make notes next to any that haven't been addressed.

What's in this Pull Request?

ServiceHealth.Read.All end point was not working using Graph api in SPFx since last july so replaced the Graph API call with Azure function.
Azure function will provide the functionality to get the service health using Delegated permission(requires Message Center Reader role for the logged in user or using Application permission.
Updated the SPFx version to 1.18.2

Node Version

(Use node -v to get the version of Node you used to build this sample)

Node version used: 18.17.1

Checklist

  • My pull request affects only ONE sample.
  • My sample builds without any warnings
  • I have updated the README.md file's Version history. For new samples, created a new README.md file matching this template
  • My README.md has at least one static high-resolution screenshot (i.e. not a GIF) located in the assets folder.
  • My README.md contains complete setup instructions, including pre-requisites and permissions required
  • My solution includes a .nvmrc file indicating the version of Node.js

@hugoabernier hugoabernier merged commit df2195a into pnp:main Feb 10, 2024
2 checks passed
@hugoabernier
Copy link
Collaborator

Thank you @HarminderSethi ! Just listing the bug number in your PR and prefixing it with "fixes" automatically attaches (and closes) the associated issue.

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

react-m365-services-health - 403 Forbidden when calling MS Graph
2 participants