Forum Discussion

rogerryuichi's avatar
rogerryuichi
Regular Visitor
1 year ago
Solved

fabric-cli login as Service Principal

Has anyone managed to use the fabric-cli authenticated as a Service Principal?

 

I'm trying to perform a deployment via GitHub Actions, but I can't even perform a basic command.

 

When logging in via service principal with a secret, upon trying to run basic commands like fab ls, it returns: ls:

 

[Unauthorized] Unauthorized access - please check your credentials

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi @rogerryuichi,

     

    May I ask if you have gotten this issue resolved?

    If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

     

    Regards,
    Vinay Pabbu

8 Replies

  • Hi rogerryuichi 

     

    i know this is very newly released feature. 

     

    is login successful?

     

    Did you added the service principal to a workspace under Manage Access and assign roles such as Admin, Member, or Viewer based on required permissions

     

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi rogerryuichi,

     

    May I ask if you have gotten this issue resolved?

    If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

     

    Regards,
    Vinay Pabbu

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi rogerryuichi,

       

      As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
      If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

       

      Regards,
      Vinay Pabbu

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi @rogerryuichi,

         

        May I ask if you have gotten this issue resolved?

        If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

         

        Regards,
        Vinay Pabbu

  • Hi,

    I am getting similar issue. Can you please help me with the resolution. I've already added the service principal to the workspace under Manage Access and assign roles as Admin, but still getting the error.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Did you get any solution for this