Forum Discussion
Employee Birthday Calendar Web Part
- Apr 17, 2019
Hello dotunman210.
Please create on list of birthdays an Index by column "Birthday" is need to sort and filter birthdays.
I found that the webApiPermissions required to use Graph API was missing on webPart. and is that the problem.
I changed and create a new package. sppkg. Please Install the new sppkg,
https://sitenanuvem-my.sharepoint.com/:u:/g/personal/joao_j_mendes_sitenanuvem_pt/Ebl4y_iQ619Ppfq55rCS-m4BdEHGAaZ3VQEejwbbZ4Hxzw?e=u4Ztsh
and deploy you will see the consent panel and a message to inform to go to manage api management to aprove the API permissions.
go to:
SharePoint Admin Center - https://xxxx-admin.sharePoint.com and change to new . SharePoint admin center and go to :
API management and aprove the permissions that are in pending status.
Soon I will update a detailed documentation and new code and package on REPO.
Thank you.
Hi João José Mendes.
I've already deployed the webpart after list creation with fields. I applied some customizations (like language-related strings, because it should be shown in Spanish) and everything seems to work fine. However, I need to get users sync from AAD and I know you mention some Azure Function, but I'm really newbie in these topic; so, could you explain a bit more detailed how to get this function to work? Should I run/call/invoke from somewhere?
memunati, Did you get this webpart to work using AD Sync?
Thanks in advance.
In the "src" there are a folder called "SyncUsersBirthdaysFunction" that is Azure Function, Timer Trigger that be deploy to Azure.
The best way is using VSCode with Azure Tools Extension Installed.
Open the folder "SyncUsersBirthdaysFunction" with VSCode, Change the local.setting file and Update with ClientId and Client Secret, of the App Created in Azure and then go to Azure Tool on VSCode and select deploy and follow the instructions.
After installed, the function runs every 5 mins, you can adjust the trigger changed the file function.json.
Thank you!
- gretchunkimFeb 15, 2022Brass Contributor
JohnatanGonzalezVelez Use Azure Function instead of a flow. BTW, wasn't delve supposed to retire soon?
- JohnatanGonzalezVelezAug 26, 2021Copper Contributor
Greetings João José Mendes
In advance congratulate you for this contribution to the Sharepoint community and ask if there is a way to keep the sharepoint list updated through a flow (power automate) because the birthday field is the delve and I do not know how to bring it to the list so that the birthday is automatic 100%.
thank you for your contributions
I attach screenshots
- zahrawiJul 10, 2020Copper ContributorI deployed the function in Azure, but it is not pushing employee details into Birthday list. I created the list already. What would be the reason?