Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
PallaviReddy
New Member

Git Integration with Fabric Workpsace

Hi,
Hope you are doing well!

I need to integrate Microsoft Fabric workspace with GitHub, which requires creating a GitHub Personal Access Token (PAT).Which PAT should I use. If I go on vacation and the PAT expires during that time, how can my team continue working without disruption? What is the recommended way to handle PAT expiration in such scenarios?Please help.

Thank you!


1 ACCEPTED SOLUTION
Cookistador
Super User
Super User

Hello  @PallaviReddy
The easiest way to avoid this issue is to not go on holiday 🙂

But there is an alternative, first you should use a fine-grained token  (according to microsoft doc)

use a GitHub Service Account (Bot Account) with a generic email address like: fabric-git@yourcompany.com

Then generate the PAT from this account with the longer expiry date

Now all of your team member has to connect their workspace using that shared PAT

 

The benefits of this approach:

  • PAT is not tied to any individual's vacation/departure
  • Expiry is predictable and can be rotated by anyone with access to the bot account
  • Auditable and revocable independently of any person

View solution in original post

4 REPLIES 4
v-karpurapud
Community Support
Community Support

Hi @PallaviReddy 

Just checking in as we haven't received a response to our previous message. Were you able to review the information above? Let us know if you have any additional questions.

Thank You.

v-karpurapud
Community Support
Community Support

Thank you for contacting the Microsoft Fabric Community Forum.
 

Has your issue been resolved? If the responses from community members  @Cookistador  and @ibarrau  addressed your question, please let us know. This helps us make sure the solutions are useful for everyone.
 

I hope this clarifies things. Let me know what you find after trying these steps; I'm happy to assist further if needed.

Regards,

Microsoft Fabric Community Support Team.

ibarrau
Super User
Super User

Hi. In addition to what Cookistador is saying, we manage and excel of keys names and expiration date. We have a power bi connected to that with alerts. So when you are two weeks before an expire, it alerts the team. The rest, I agree with my fellow answer.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Cookistador
Super User
Super User

Hello  @PallaviReddy
The easiest way to avoid this issue is to not go on holiday 🙂

But there is an alternative, first you should use a fine-grained token  (according to microsoft doc)

use a GitHub Service Account (Bot Account) with a generic email address like: fabric-git@yourcompany.com

Then generate the PAT from this account with the longer expiry date

Now all of your team member has to connect their workspace using that shared PAT

 

The benefits of this approach:

  • PAT is not tied to any individual's vacation/departure
  • Expiry is predictable and can be rotated by anyone with access to the bot account
  • Auditable and revocable independently of any person

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.