I want to develop a timer job (C#), which will run at background without any logged in user, through which i need to fetch user profile (profile image and job title) from Azure AD using a graph api. I want to achieve this using delegated permissions (User.ReadBasic.All) as i'm not allowed to use application level permissions for User.Read.All. So is there any way i can achieve this.
Get user profile from Azure AD using graph api
291 views Asked by Mayuresh Jaiswal At
1
There are 1 answers
Related Questions in AZURE-ACTIVE-DIRECTORY
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Microsoft Entra ID - How to delete a tenant?
- Azure AD guest account in web app authentication user claims data
- Handling errors in MSAL Redirect - reactjs login with microsoft sso
- Azure Cross Cloud Auth using AAD
- Get id token from the access token
- Microsoft Identity does not work in docker desktop
- how to get refresh token in msal-browser Azure AD B2C login?
- Local DX for service-to-service authentication based on Managed Identities in Azure
- How can I add an identity provider to an existing user in an AWS Cognito user pool using the OIDC protocol?
- Azure B2C MFA custom policy flow 'try another way'
- How can I protect an Java Spring boot API against Azure AD B2C if I only have an id_token?
- Is there any way to get a new Azure CLI token without logging out?
- Code a Delegated Permission in Azure Powershell
- Service Principals I create are not being created as mine
Related Questions in AZURE-AD-GRAPH-API
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- getting 401 with no message while creating teams meeting link using azure graph client in NodeJS,JS
- Graph API retrieve multiple applications based on list of appids
- Can we create event in user's calendar with application permissions?
- How to Create Events in User's Outlook Calendar Without Microsoft Account?
- GraphServiceClient using authorization token / refresh token mechanism
- Get AzureAD/EntraID application properties from API call
- "AADSTS9002313: Invalid request. Request is malformed or invalid. While requesting Refresh Tokens
- Microsoft Graph API - Get users with specified app roles
- LastpaswordchangedDatetime return as longint value instead of datetime ,when i calling graphapi from custom policy( forgot password custom policy)
- MS Graph API Insufficient permissions when using Python SDK, sufficient when doing normal HTTP requests
- how to add a user using emailId to azure ad group using java spring boot application
- how to get Azure AD refresh token in Next-Auth / Auth.js
- Roles claim not present in token error when using graph API to connect to SharePoint using selected sites permission
- Python Azure Graph API request for Delegated request needing Admin consent
Related Questions in TIMER-JOBS
- Sharepoint Timer Job succeeded but didn't execute the code
- Get user profile from Azure AD using graph api
- Why would a custom SharePoint timer job work on only half the items in a list?
- SharePoint 2016 some Timer Jobs run time n/a
- Sending push notification every 20 seconds with PHP and check for response
- How to set the path for reference DLLs in console application (Visual Studio)?
- How to insert or delete query with jobs in SQL Server?
- Pass Parameters to SharePoint 2013 Timer Job
- Timer/thread colaescing
- Schedule the same task for different time interval
- TimerJob sharepoint server 2013
- Execute a TimerJob from an event receiver handling list item changing
- Invoking a Powershell script in c#
- Run function at set interval only at certain time of the day
- How to create Timer Service using Java, Netbeans, and Glassfish
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes, but the user will have to sign in to your app at least once to initiate the process.
The way you can do this:
This process will work in the background for as long as the refresh tokens work. But they can and do expire. You will need to be prepared for this as to make it work again for that user, they will have to repeat step 1 again.