Skip to content

authenticate Function Azure #6345

Answered by davidhjones
Paolo-lab asked this question in Q&A
Discussion options

You must be logged in to vote

Based on your comments "when the timed function in azure is triggered, I am not tied to any user and therefore I do not have an active authentication token", I would suggest that you use service accounts. Service application workflows are used for machine-to-machine workflows, which is exactly the scenario that you have: https://developer.bentley.com/apis/overview/authorization/#authorizing-service-machine-to-machine.

Now, to provide access to your service application, you'll need to invite this service application to the iTwins which is should have access. You can do this using the access control api: https://developer.bentley.com/apis/access-control-v2/operations/add-itwin-user-members/

T…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Paolo-lab
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Paolo-lab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants