Giter Club home page Giter Club logo

Comments (16)

liprec avatar liprec commented on July 18, 2024 2

At this moment depoying a model via a SPN is not yet supported. I am in the process of rewriting all my VSTS extensions to NodeJS to be platform independent (and the are running faster) and it will include the deployment with SPNs, but it will take a little bit longer.

So at this moment you need an user and that user needs to be service admin to be able to deploy a model to AAS. And with the new version this user can be changed to an SPN, because you need access to both the Azure resource and the service itself.

(Duplicate of #5)

from vsts-release-aas.

pedbir avatar pedbir commented on July 18, 2024

Having the same problem

from vsts-release-aas.

denvro avatar denvro commented on July 18, 2024

We are not using a SPN to deploy a model through a VSTS release pipeline and we're experiencing the same error. I use my own credentials in the 'Analysis Services Admin' and 'Analysis Services Admin Password' , and I am one of the Analysis Services Admins. Could this have something to do with MFA?

from vsts-release-aas.

liprec avatar liprec commented on July 18, 2024

Probably it will as the MFA authentication will return a 'challenge'.
So if it is possible to use a fixed user/password without MFA or add an 'app password' to your user it should work.

from vsts-release-aas.

denvro avatar denvro commented on July 18, 2024

We are trying to use this extension in an enterprise environment where both solutions (fixed user/password and 'app passwords') are not allowed/disabled. Would be great if Service Principals would be supported in the (near) future.

from vsts-release-aas.

ptarepmone avatar ptarepmone commented on July 18, 2024

Having same issue. Is there a resolution to this.

from vsts-release-aas.

reubster avatar reubster commented on July 18, 2024

Also me.

from vsts-release-aas.

fmms avatar fmms commented on July 18, 2024

Getting this as well. We are using an App Registration. Shouldn't this be the same as username and password?

from vsts-release-aas.

ptarepmone avatar ptarepmone commented on July 18, 2024

Having same issue. Is there a resolution to this.

Works perfectly. Had problem with my password and Username.
It doesn't work with MFA..

from vsts-release-aas.

liprec avatar liprec commented on July 18, 2024

I just released a minor version (v1.2) with Service Principal support.

from vsts-release-aas.

reubster avatar reubster commented on July 18, 2024

Hi,

My release pipeline broke immediately. Do I need to recreate it? I'll give it a go.

from vsts-release-aas.

liprec avatar liprec commented on July 18, 2024

@reubster, can you share the error message? And can you make sure that the pipeline is using v1.2.2?

from vsts-release-aas.

reubster avatar reubster commented on July 18, 2024

The original error was

"##[error]Error during adding automatic firewall rule (Authentication failed: User ID and Password are required when user interface is not available.)
##[error]Authentication failed: User ID and Password are required when user interface is not available." 

However, I've made a few random tweaks in the settings, saved and run again and it's fine now.

Perhaps it just needed a re-validation to recognise some new defaults or something?

Thanks for making the update. Very helpful. Now I can throw away the regular user and stick to using my SPN.

from vsts-release-aas.

liprec avatar liprec commented on July 18, 2024

Yesterday I fix a bug that was related to deployments without a firewall, so it could be that you were hitting the same error.
But good to hear that it is now working for you again!

from vsts-release-aas.

reubster avatar reubster commented on July 18, 2024

Hi liprec,

Yeah, I'm not currently using a firewall. Now when I try it, it works as long as I disable the remove after deploy switch.

from vsts-release-aas.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from vsts-release-aas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.