Posts

Showing posts from November, 2023

Sign up for SharePoint Online Trial

Image
  https://learn.microsoft.com/en-us/answers/questions/564261/how-to-have-sharepoint-sites-on-azure-free-account Sign up for SharePoint Online Trial  Here are the steps to create your SharePoint Online developer trial account: Join the Microsoft 365 Developer Program at https://developer.microsoft.com/en-us/microsoft-365/dev-program and click on the “Join Now” button. You’ll be prompted to login with any Microsoft Live account, such as Live, Outlook, Hotmail, etc. Create a new account if you don’t have one already (You can also convert your existing non-live accounts into a Microsoft live account. E.g., Gmail, Yahoo, etc.) Pick the Country/Region, Enter the Company, accept the terms and conditions and click “Next”. Select the primary focus as a developer, such as “Application for Internal user at my company” or whatever applies to you. Click on “Next”. On the next screen, You’ll be prompted to select the products you are interested in, such as “SharePoint Framework (SPFx), Micr...

Azure Key vault in C#

Image
 

Sharepoint to get user profile data and SP Log by Correlation id

Image
  Get all users list from the sharepoint application https://xxxx/_catalogs/users/simple.aspx To check the SP ULS logs and move to log file

Sharepoint list item using the Microsoft Graph API and Postman

  To retrieve a list item using the Microsoft Graph API and Postman, you'll need to follow these general steps. I'll provide a basic example, but keep in mind that you may need to adjust the details based on your specific use case and the permissions you have. Prerequisites: Register an App in Azure AD: Go to the Azure Portal . Navigate to Azure Active Directory -> App registrations -> New registration. Note down the Application (client) ID and Directory (tenant) ID. Create Client Secret: In the App registration, go to Certificates & Secrets. Create a new client secret and note down the Value. Grant API Permissions: Go to API permissions and grant the necessary permissions (e.g., Sites.ReadWrite.All for SharePoint). Get Access Token: Use the client ID, client secret, and tenant ID to get an access token. You can use the OAuth 2.0 authorization code flow or client credentials flow. For simplicity, I'll use the client credentials flow here. http Copy code POST http...