Azure AAD Mobile Service Authentication with corporate accounts fails.

I have been having on-going issue with Authenticating against a Windows Azure mobile service with corporate accounts.
Here is the complete environment.
Initially we set up with Office 365 / CRM Online / and Azure for our corporate infrastructure. We have set up single sign on. Everything works well. There is ADFS set up and running to allow us to Authenticate with {username}@{companyDomainName} and everything
works, including single signon. 
Along comes Azure Active directory. We have an Automatically created Azure active directory in the corporate azure account. The domain is the default created {accountname}.onmicrosoft.com domain structure. This is set as the Default directory.
We had a consultant come in, who was organized through Microsoft, to do some work. After everything was set and done we ended up with another active directory created in Azure that is named with the corporate domain name. This second domain has had all of
the corporate accounts synched to it. 
I have now created an Azure Mobile Service. The service is a basic service, I haven't updated any of the code yet, except to publish the service. I have followed all of the configuration instructions for setting up the authentication. 
If configure the Authentication to point at the first active directory, I am able to Authenticate against the service using the credentials for a user that has been created in that domain. The Authentication works correctly, and goes through.
However if I switch the configuration to use the second Active Directory, the one with the corporate accounts synched to it, the authentication fails. I am able to enter my corporate email address into the web page that is presented. Then the web control
started to call into the ADFS in order to authenticate the corporate user name and password. At this point the authentication fails with a message about the service not being available.
The login code is the standard:
user = await App.MobileService.LoginAsync(MobileServiceAuthenticationProvider.WindowsAzureActiveDirectory);
The project is a Universal Application as the service needs to be available from both a phone and a desktop. The project was started from the starter project downloaded form the Mobile Service site.
# Update
I've just switched the mobile service configuration back to use the AAD with the corporate accounts synchronized. The login through the application fails. However if I log in through IE by browsing to : https://{ServiceName}.azure-mobile.net/login/aad
The authentication goes through correctly. 

A few questions on the details:
What client platform are you using for login. In particular, is this a Windows Store application?
What do you mean exactly by "authentication fails?" Does an error get thrown, or does the UI just hang?
Is this being done from a domain-joined machine and/or on a machine connected to a corporate network?
We have seen an issue where some configurations of ADFS will not play nicely with Windows Store apps since the Web Authentication Broker (WAB) is based on the IE browser, and ADFS will attempt to do SSO in the special IE way instead of presenting a form,
etc. Unless the WAB is configured to handle this scenario, you will get a non-responsive UI.
Any details you can provide would be helpful.

Similar Messages

  • Automatic service setup with network accounts

    Hi all,
    I'm having terrible trouble getting automatic service (e.g. iCal, iChat, etc.) setup to work with network accounts, either with network home directories or local home directories, and I can't work out what I'm doing wrong.
    When I log in as a local user and join the Network Account Server, all services get set up as expected, without problems. When I log in with a network account however, whether the account has a server-hosted home directory or a local home directory, services aren't automatically set up, I don't get the auto configuration wizard/dialogue, and attempting to join the network account server again fails. Surely there's a way for network accounts to have services automatically set up on initial login? Any ideas?

    Hi all,
    I'm having terrible trouble getting automatic service (e.g. iCal, iChat, etc.) setup to work with network accounts, either with network home directories or local home directories, and I can't work out what I'm doing wrong.
    When I log in as a local user and join the Network Account Server, all services get set up as expected, without problems. When I log in with a network account however, whether the account has a server-hosted home directory or a local home directory, services aren't automatically set up, I don't get the auto configuration wizard/dialogue, and attempting to join the network account server again fails. Surely there's a way for network accounts to have services automatically set up on initial login? Any ideas?

  • Create a service request with the Account confirmed filled out

    Hi all, I'm working on an IC scenario where we have to create a Service Request based on: functional location and customer.
    This is the process steps:
    1) search for the functional location (FL) and confirm it
    2) confirm the account of the FL (we have a list of account related to the FL, partner function)
    3) create a service request referring to the FL and the Account confirmed in the prev-step
    My need is to find an automatic way to replicate the FL and the Account prev-confirmed directly into the Service Request, without repeat the search.
    Any suggestions?

    Hi Anubhav, thanks for your replay. Your idea is good, but unfortunately our process is a little different. We have to manage with the FL, that is the central item of the Service Request, and with one of the several partner function of the FL.
    So, first, the Agent has to search the FL and then confirm the right Account between the FL's partner (each time we have to create a service request, the Customer could be one of the FL's partner function). Now, I'm investigating if with a Badi, I can transfer the FL confirmed with the Account Identification, directly into the Service Request.
    Interaction Center WebClient->Business Transaction->Service Ticket->BADI: Product Assignment for creation of Service Items
    Thanks.
    BR,
    Andrea.

  • Mail stopped authenticating with Exchange account

    Strange problem here. About a month ago, Mail suddenly stopped authenticating with my Exchange account which is hosted by Fasthosts, citing the error 'The exchange server exchange.livemail.co.uk rejected the password for user...'.
    No settings had been changed, my web hosts swear blind they've not changed the way Exchange email is authenticated or updated their installation, or done anything that might cause this problem. My password is definitely correct as I use it for both Entourage and for Outlook Web Access.
    If I alter the exchange server details, I get a different error message (sever not found)... so I'm fairly sure Mail is getting through to the server, but is experiencing some sort of authentication problem that it previously wasn't.
    Does anyone have any idea what might have caused this to happen? I've tried all authentication protocols allowed in Mail and none of them work. I've also attempted re-establishing the account in Mail both by deleting it and starting again, and by trying it as a different user, and no go: it used to work great, now it doesn't. Entourage works fine.
    I'm completely at a loss here - any suggestions would be gratefully received.

    Strange problem here. About a month ago, Mail suddenly stopped authenticating with my Exchange account which is hosted by Fasthosts, citing the error 'The exchange server exchange.livemail.co.uk rejected the password for user...'.
    No settings had been changed, my web hosts swear blind they've not changed the way Exchange email is authenticated or updated their installation, or done anything that might cause this problem. My password is definitely correct as I use it for both Entourage and for Outlook Web Access.
    If I alter the exchange server details, I get a different error message (sever not found)... so I'm fairly sure Mail is getting through to the server, but is experiencing some sort of authentication problem that it previously wasn't.
    Does anyone have any idea what might have caused this to happen? I've tried all authentication protocols allowed in Mail and none of them work. I've also attempted re-establishing the account in Mail both by deleting it and starting again, and by trying it as a different user, and no go: it used to work great, now it doesn't. Entourage works fine.
    I'm completely at a loss here - any suggestions would be gratefully received.

  • Lync 2013 Authenticating with Windows Account Every Minute

    Seeing a strange issue with Lync 2013 client logging into my Windows Account about every 1-2 minutes. We are using Lync Server 2013 (on-premise) so it makes no sense that it is logging into and authenticating against Windows Account. This was causing major
    issues as my Windows Account password was different than my company domain login. This was causing Lync to use the "wrong" password to login into Windows Account. I changed the  passwords to match and now still seeing Lync logging in constantly
    into Windows Account.
    This is adding up to a LOT of data traffic. Lync should NOT be authenticating every 1-2 minutes into my Windows (Live) Account. Help please!

    Hi,
    Did the issue happen only for you or for multiple users?
    Please exist Lync client, delete user profile on local computer with the following path, then restart Lync client:
    %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Policy agent 2.2 amfilter local authentication with session binding failed

    Hi All,
    I have policy agent 2.2 for weblogic 8.1 sp4 installed on redhat linux. All are working fine in my development box. But I was running all the process under user root, so today I decided to change it to a regular user, joe. I changed all the files' owner for weblogic server and policy agent from root to joe, and restart server as user Joe. After the change, I can not access the application on Weblogic server. I changed file ownership back to root and restart weblogic server as root, still same error.
    Here is the error I got:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Here is the error I found from agent log file, amFilter:
    AmFilter: now processing: SSO Task Handler
    05/24/2006 06:27:08:127 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    SSOTaskHandler: caching SSO Token for user uid=amAdmin,ou=People,dc=etouch,dc=net
    05/24/2006 06:27:08:127 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    AmBaseSSOCache: cached the sso token for user principal : uid=amadmin,ou=people,dc=etouch,dc=net sso token: AQIC5wM2LY4Sfcx4XY/x/M7G1Y3ScVjFj8E3oT0BV45mh0Q=@AAJTSQACMDE=#, cache size = 1
    05/24/2006 06:27:08:127 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    SSOTaskHandler: SSO Validation successful for uid=amAdmin,ou=People,dc=etouch,dc=net
    05/24/2006 06:27:08:128 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    AmFilter: now processing: J2EE Local Logout Task Handler
    05/24/2006 06:27:08:128 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    AmFilter: local logout skipped SSO User => amAdmin, principal =>null
    05/24/2006 06:27:08:128 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    AmFilter: now processing: J2EE Local Auth Task Handler
    05/24/2006 06:27:08:128 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    LocalAuthTaskHandler: No principal found. Initiating local authentication for amAdmin
    05/24/2006 06:27:08:128 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    LocalAuthTaskHandler: doing local authentication with session binding
    05/24/2006 06:27:08:129 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    LocalAuthTaskHandler: Local authentication failed, invalidating session.05/24/2006 06:27:08:129 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    WARNING: LocalAuthTaskHandler: Local authentication failed for : /portal/index.jsp, SSO Token: AQIC5wM2LY4Sfcx4XY/x/M7G1Y3ScVjFj8E3oT0BV45mh0Q=@AAJTSQACMDE=#
    05/24/2006 06:27:08:129 PM PDT: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    AmFilter: result =>
    FilterResult:
         Status      : FORBIDDEN
         RedirectURL     : null
         RequestHelper:
              null
         Data:
              null
    -----------------------------------------------------------

    Hi,
    I'm having the exact same problem in the Prod environment, but on a Sun App Server. In development all is fine, in prod we now have:
    ERROR: AmFilter: Error while delegating to inbound handler: J2EE Local Auth Task Handler, access will be denied
    java.lang.IllegalStateException: invalidate: Session already invalidated
    at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1258)
    at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:164)
    at com.sun.identity.agents.filter.LocalAuthTaskHandler.doLocalAuthWithSessionBinding(LocalAuthTaskHandler.java:289)
    at com.sun.identity.agents.filter.LocalAuthTaskHandler.authenticate(LocalAuthTaskHandler.java:159)
    at com.sun.identity.agents.filter.LocalAuthTaskHandler.process(LocalAuthTaskHandler.java:106)
    at com.sun.identity.agents.filter.AmFilter.processTaskHandlers(AmFilter.java:185)
    at com.sun.identity.agents.filter.AmFilter.isAccessAllowed(AmFilter.java:152)
    at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:38)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    FilterResult:
    Status : FORBIDDEN
    RedirectURL : null
    RequestHelper:
    null
    Data:
    null
    Also, we I debug I see:
    LocalAuthTaskHandler: No principal found. Initiating local authentication for ...
    Did you receive any solution for this?
    Many, many thanks,
    Philip

  • Windows 7 is not allowing me to install Apple Mobile Service Support with iTunes. Help?

    I'm using a Windows 7 brand new computer. Im able to install iTunes correctly, but I have an iPhone and the Apple Mobile Device Service Support will not install. I need that software in order to sync my phone. So far I have extracted the files and tried to install the service separately, and it couldnt because my system "has not been modified". Please help! I need my phone synced ASAP!

    Thanks for taking the time to respond and for doing it so quickly!!
    Oh wait, that article is incorrect for what I need it for. I probably should've clarified. I still have the old computer, but I don't want to have to continue using it.

  • Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App

    I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
    mobile service and authentication.
    I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
    backend would be much appreciated!

    Although there isn't any client library for PHP, you can still access Mobile Service using the
    Azure Mobile Service REST API.
    Abdulwahab Suleiman

  • X.509 Web Service Authentication for ABAP AS Web Service Interaction

    We are trying to use X.509 web service authentication with SAP Web AS ABAP between 2 different SAP installations. Company 1 is trying to consume a web service set up by Company 2.
    Company 1 has installed Company 2's public key, generated the client proxy using Company 2's WSDL and created a corresponding lpconfig entry.
    Then company 2 has set up the profile parameter ICM/HTTPS/verify_client to accept certificates and imported Company 1's SLL client certificate and mapped the user in USREXTID.  Note that Company 1 uses self-signed certificates, so it does not have a root certificate, which is what the documentation says should be imported into the PSE instead of the SSL client certificate.
    When Company 1 tries the web service call, it receives a request to authenticate the web service from Company 2. (basic authentication logon screen, even though the web service configuration is set to X.509 Client Certificate.
    Should this work or is there a problem because Company 1 uses self-signed certificates or is there something else we are missing?

    >
    Connie Begovich wrote:
    > We are trying to use X.509 web service authentication with SAP Web AS ABAP between 2 different SAP installations. Company 1 is trying to consume a web service set up by Company 2.
    >
    > Company 1 has installed Company 2's public key, generated the client proxy using Company 2's WSDL and created a corresponding lpconfig entry.
    >
    > Then company 2 has set up the profile parameter ICM/HTTPS/verify_client to accept certificates and imported Company 1's SLL client certificate and mapped the user in USREXTID.  Note that Company 1 uses self-signed certificates, so it does not have a root certificate, which is what the documentation says should be imported into the PSE instead of the SSL client certificate.
    >
    > When Company 1 tries the web service call, it receives a request to authenticate the web service from Company 2. (basic authentication logon screen, even though the web service configuration is set to X.509 Client Certificate.
    >
    > Should this work or is there a problem because Company 1 uses self-signed certificates or is there something else we are missing?
    I think that the problem is in Service Authentication (in transaction sicf). You have to consume web-service, transmitting user-password for access.

  • Service Request with Object Reference filled-out automatically

    Hi CRM experts,
    I'm trying to understand how is possible (if exist a customizing way) to filled-out automatically the Reference Object of the Service Request.
    Process steps:
    First, I have to search for the Ibase component and confirm it; then I have to search for the Account related and confirm it also. Then I'd like to create the Service Request with the Account and the Ibase component filled-out automatically.
    For the Account I solved the issue by assigning the Partner Function to the Business Transaction.
    Any suggestions for the Ibase component?
    Thanks in advance.
    Best Regards,
    Andrea.

    Hi Andrea
    Create a partner determination profile. You can use procedure 0with 0000032 to copy.
    IMG > CRM > Basic Functions > Partner Processing > Define Partner Determination Procedure
    Assign partner determination profile it to Installed base
    IMG > CRM > Master Data > Installed Base > Assign Partner Determination Procedure to Installed Base Category
    Check Account identification profile, it should have Auto search checked for ICCMP_IBASE main partner approach.
    IMG > CRM > Interaction Center WebClient > Master Data > Define Account Identification Profiles
    In IB52 assign Account to IBase as main partner.
    Now when you search for IBase and confirm, it will automatically look for the Account assigned as main partner.
    hope this helps
    Rupesh

  • Authentication with App Service Gateway worked, but now fails

    So I was trying to authenticate my app with the App Service gateway so that I can access my locked down Api App. I have set up identity providers for both Google and Microsoft, and all was working wonderfully. I was making some tweaks with how I was handling
    the authentication token, so I was hitting the authentication code 3-4 time a minute. Everything was great until suddenly the web page stopped opening up.
    I did some digging and it seems that the gateway simply cannot handle my requests anymore. I am now getting 500 responses and the streaming logs for the gateway host web app spat out an IIS error page that I've pasted at the end here... To me the
    error looks like it's coming from the gateway code. So what is going on? I've tried restarting both the gateway and the host for the gateway, I've tried changing the pricing tier to a non-shared plan in case something on the machine was crashing, and
    I've tried accessing the /signin-google page on both my mobile app and desktop browser (both fail with 500). I assume that recreating the entire resource group and associated gateway would solve the problem, but I don't know that this won't happen again. So
    any tips you have would be appreciated, thanks.
    IIS Error page:
    HTTP Error 500.0 - Internal Server Error
    The page cannot be displayed because an internal server error has occurred.
    Most likely causes:
    IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    IIS was not able to process configuration for the Web site or application.
    The authenticated user does not have permission to use this DLL.
    The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
    Things you can try:
    Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    Check the event logs to see if any additional information was logged.
    Verify the permissions for the DLL.
    Install the .NET Extensibility feature if the request is mapped to a managed handler.
    Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click
    here.
    Detailed Error Information:
    Module
       __DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_63ffbacd-0ee6-4727-806c-1c01b9b82249
    Notification
       MapRequestHandler
    Handler
       ExtensionlessUrlHandler-Integrated-4.0
    Error Code
       0x00000000
    Requested URL
       https://chipexchangeresources8ff2d21b21f84262ae5c1b3af4dc04ca:80/signin-microsoft
    Physical Path
       D:\Program Files (x86)\SiteExtensions\ApiAppsGateway\0.9.29\signin-microsoft
    Logon Method
       Anonymous
    Logon User
       Anonymous
    More Information:
    This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
    View more information »
    Microsoft Knowledge Base Articles:

    No, it wasn't anything to do with Insights. Actually coming back after a weekend cleared my mind enough for me to spot my foolish error. It turns out I had accidentally switched the login and redirect urls,
    From
    Login: <gatewayurl>/login/google
    Redirect: <gatewayurl>/signin-google
    To
    Login: <gatewayurl>/signin-google
    Redirect: <gatewayurl>/login/google
    I just didn't notice at the time because /signin-google looks like a signin url rather than a redirect one. As soon as I switched back to using the /login/google one everything is back to working smoothly. Sorry for the false alarm, but as a side note I
    don't think the gateway should be throwing an exception if there is no auth token.

  • Authentication using Mobile Service

    I added mobile service to my mvc web project using nuget(1.3.1).I also registered mobile service in azure portal and linked with facebook.Now my problem is that when i tried loginasync method ,it asking for token and provider name and i could not get the
    extension method(Microsoft.WindowsAzure.Mobile.Ext ) where it asks for only provider name? Is this an issue with nuget? Also I would like to know from where we get the token?

    Take a look at the sample on
    how to add authentication to mobile services app.
    Abdulwahab Suleiman

  • Azure Mobile Services and ASP Identity - Exception when using UserManager

    I've reviewed
    this post in the AMS forum and it doesn't really answer the question. I already know how to integrate authentication, but Identity implements a lot of boilerplate user management code that I don't want to have to reproduce.  My question is: Is it possible
    to use Asp Identity framework with Azure Mobile Services? Since AMS Back End has Microsoft ASP.NET Identity Core/Owin as dependencies, I would think that the answer is yes, that they are compatible?
    I have been progressing as if it were possible, but yet, now when I go to try to use the Identity UserManager, I am getting the exception stated in
    this asp.net identity bug. Are there references in Azure Mobile Services Back End to previous versions of Microsoft.AspNet.Identity that would result in mismatched assembly versions?
    I have tried uninstalling and reinstalling Asp.Net Identity, even to the pre-release of 2.2.0, but I am still getting the exception that it couldn't load the CultureAwaiter. I have asked in that post if the bug has been fixed, but from the scant evidence of
    the posts and lack of responses, I would think that the bug has been fixed.
    ibGib

    The bug referenced in the original post shows that the required version is 2.1. I found that when I published to Azure, even though I had the correct (2.1) versions of the NuGet packages installed, the loaded dlls were not the correct versions. I do not
    know if this is an Azure problem or an Azure Mobile Services problem.
    I came to this conclusion by looking at the loaded Identity dlls in a new, up-to-date mvc app, and then looking at the same loaded dlls while debugging in Azure. The Azure dlls are older versions than the up-to-date MVC app versions. I figure that somewhere
    along the lines, Azure Mobile Services is loading the incorrect version of the Identity dlls, even though I have the correct versions installed via NuGet. Maybe there is another explanation.
    But regardless, I should be able to use the up-to-date versions of Identity in order to address bugs in the Identity framework. It would be nice if an AMS person would clarify about the dll versioning. I did come across
    this SO comment by someone who seems to be an AMS guru, but it doesn't seem to make sense. It does, however, seem to corroborate my and BinLaw's observed behavior of the backend dlls.
    ibGib

  • Azure mobile services error cannot find module 'azure-storage'

    this is driving me nuts for past five days now and still no solution. After asking the questing at StackOverflow and azure-storage npm, I thought of now posting the same question here so that it reaches to more targeted 'microsoft azure' experts. 
    in my AzureMobileService, I am using azure-storage npm module in one of my custom API. I have been using this for past couple of months and it was all working great, I was very happy. Until last moday it started throwing the error - 'cannot find module
    'azure-storage'. It was strange, the code that was working till morning , started failing when I came back from work, with no change of a bit in the code. I get this error where I call 'require' for 'azure-module':
    var azure = require('azure-storage');
    var retryOperationFilter = new azure.ExponentialRetryPolicyFilter();
    var tableService= azure.createTableService().withFilter(retryOperationFilter);
    and in package.json, I have
    "dependencies": {"tracer": "0.7.3", "colors" : "1.0.3", "lodash" :"2.4.1", "azure-storage": "0.4.1"},
    Today, I also tried creating a new Mobile service from scratch in my azure account. Then I created the custom API and wrote the code again from scratch. Updated package.json to include azure-storage, updated my client code(HTML/JS) to use this new service
    URL etc. and tested again, everything worked fine till it reached the same line (require('azure-storage') ) and failed again there with
    same error.
    I am at my wits end. please help. 

    ok, got it working.
    I did an npm install 'azure-storage'  to my mobile service's service directory and then it started working. 
    As I remember reading, if I just include the npm module I want to use in my mobile service's package.json, it gets taken care, installed and I don't to install myself manually.
    And thats what has been happening when my code was working till last week. 
    Also, its feels odd because the other node modules I use - like tracer or lodash - work with no manual npm install. 
    anyways, its working for now, but now I am thinking about the azure mobile's reliability

  • Accessing the Mobile Service without Authentication

    I am planning on using Azure Mobile Services as a backend to our social application. However, security will be handled by a different authentication server that we are implementing.
    User authentication is handled on the client level through the our server, I want to keep the permissions on the table as "Anyone with Application Key", does this cause any risk to my data being accessed from outside?
    Best Regards Omar Sultan

    Hi,
    Thank you for reaching out to us.I am currently researching to gather more information with regards to your request. I shall revert back to you with an update at the earliest.Sincerely appreciate your patience.
    Regards,
    Girish Prajwal

Maybe you are looking for

  • Problem with action links

    I have a relatively simple DVD project with 10 movie sequences each placed on a separate timeline. DVD has just one menu with a Button: "Watch whole movie" which basically sequences all 10 clips and then back to the menu. Then I also have 10 Sequence

  • Setting Total Area Coverage (TAC or Density) in InDesign

    Is there a way to set the Total Area Coverage (TAC or Density) in the Export options from InDesign? I feel that the color management tools relate to elements created within InDesign and not placed images. My printer requires a PDF/X-1a:2001 compliant

  • Mail-enabled Public Folders not accepting email from external users after migrating from Exchange 2003

    We are in the process of trying to decommission our Exchange 2003 server, all of the replicas have been moved to the Exchange 2010 SP3 servers. However, each time we dismount the public folder store on the 2003 server (just to see what won't work) no

  • SL controller fail to start in SUM

    Hello Friends, SL controller is fail to start. please find the log There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 32752 bytes for ChunkPool::allocate. Out of swap spac

  • Upgrade to SD 1.2 lost connections

    I just upgraded to SqlDeveloper 1.2 and I have lost all the connections. This is a windows environment. (In Linux it worked fine.) Any idea how can get back all my old connections? Thanks Mike