AADSTS70001: Application '.....' is not registered for the account.

I am trying to create a web asp.net application to add a user to Azure Active Directory(ADD). I have the single Sign on working properly. AD and Application are created.  When I try to add a new user to the AD via my codebehind I get AADSTS70001:
Application '-------' is not registered for the account.
I am in development so I am using locolhost as the domain. I am using Microsoft.IdentityModel.Clients.ActiveDirectory and AcquireToken. That is where the error happens.
Am I missing a setting somewhere?
Mark Perry

Hi Matt,
I am trying to deal with a similar error:
Correlation ID: a8e117b5-bb9e-4877-8fcb-dc087397a44b
Timestamp: 2015-02-09 17:56:49Z
AADSTS70001: Application with identifier https://xxxxxxx.accesscontrol.windows.net/ was not found in the directory 61ae352e-45c7-40a2-9a95-bd2a8288cf27
Not sure what you mean by registering the app in the tenant. If that is adding the app in the AAD tenant, then yes, I've done that. However, does the APP ID URI in the tenant need to match the URL for the app (i.e. http://localhost:xxxxx)?
Thanks,
Russell

Similar Messages

  • Access to my Office 365 third-party app for external user : "a User account is not registered for the account"

    In my third-party web application of Office 365, I want to have access to the contacts, events and emails of all the users from the organizations who installed my app. The thing is I don't want that all these users have to grant me access, I just want one
    admin of the org to grant access for my app and then be able to retrieve the data I need for all the users.
    To test for one organization, I logged in as the admin and proceed to the Oauth2 authentication to retrieve the access token and in the first request (the GET one to retrieve an authorization code) i add the parameter
    prompt=admin_consent.
    With this access token, I can access the data (emails, contact, event) of the admin
    for instance for the contacts
    uri: https://outlook.office365.com/ews/odata/Users(adminemail)/Contacts
    but not the data of the other users of this org with this uri
    uri: https://outlook.office365.com/ews/odata/Users(useremail)/Contacts
    The only thing I can do is retrieve an access token for each user but it supposed that each user has to authorize the access to the app but it's very cumbersome. So, i don't see what enables the parameter prompt=admin_consent and how to use it. Does anybody
    know what it does?
    And my question is: how can I do to access the data of all the users of one organization when the access has been granted by one admin?
    Thank you!

        
    This was answered on StackOverflow by Dushyant Gill.  http://stackoverflow.com/questions/25316175/access-to-my-office-365-third-party-app-for-external-user-a-user-account-is-n/25316678#25316678
    You are sending the OAuth request to a tenant specific endpoint of Azure AD. Note the {key_provided} part of your Url - that part represents the tenantid or a registered domain name of an Azure AD tenant. Azure AD throws this error is the user signing in
    is not a user in that tenant.
    Multi-tenant applications like yours have two options:
    Perform home realm discovery yourself and send the SSO request to the correct tenant-specific endpoint of Azure AD: when a new Azure AD organization signs-up for your application, record its tenant ID, and registered domain names. On your login page, ask
    the user for their email and try to discover what Org they belong to using the suffix the email.
    Use the common endpoint of Azure AD. Instead of the {key_provided} part of the URL, use 'common'. In this case Azure AD will determine the user's tenant and sign-in the user. The token that your application will receive will still be from the user's tenant
    (iss claim).
    2 is more convenient for apps. However #1 has an advantage when the user's Organization has customized their sign-in page with the company logo etc - in the case of #1 the user will directly be taken to the customized and familiar sign-in page.
    I recommend a combination of the two: try determining the user's organization and sending them to the tenant specific SSO endpoint. If you're not able to - send them to the common endpoint.

  • I can not register for my account as i did not give email addrees what can i do

    when i purchesed ee i did not give a email address and password so i can not register for my account what can i do?

    It's your own email address and you give it a password yourself. You need to create your own online account.

  • Applications don't register for other accounts.

    I've been searching for an answer to this for over an hour now, with no luck.
    I've recently upgraded to Mac OS 10.5.1. I made it a clean install, wiping my hard drive to do it. I set up individual accounts for everyone in my family that will be using my computer. The only admin account is mine. The other accounts don't have passwords.
    Since I wiped everything I've been reinstalling all of our applications and games, a long process made longer by the fact that once I register a program in my admin account and then switch to one of the other accounts, the application isn't registered.
    I know that some programs give you the option to install for all users, and most don't, so I realize that this might actually be normal behavior but it just seems wrong to me. If I install, say, Warcraft III as the admin, why do I have to enter the CD Key for myself and my son, daughter and girlfriend separately? Am I just going to have to suck it up and register everything four times?
    Another thing I find odd is the top menu bar is supposed to be translucent now, allowing the desktop background to show slightly through it. Mine's solid grey:
    Is this something that should concern me? Does it indicate the install didn't work properly? If so, do I have to start all over again?
    Thanks to anyone that can help with any of these problems.

    I also was helping a friend set up a second user account on his macbook and only 3 or 4 applications show up on the second user account. No Safari No mail no Office products etc etc. Only Itunes and a few others.
    I can't seem to find any setting that will enable all apps to show on the second user account.
    All he wants for her is to be able to access Safari, Firefox and Mail and office apps.
    I can't find any fix for this anywhere on any website???
    Help!
    Oh by the way on my Powerbook and wifes macbook other users have all apps available for use on any user! It works on mine it should work on his!

  • Number Range For the accounting document

    Hai, 
    After creating the billing document, account determination error is coming.
    Message says that number range 01 is not maintained for the accounting document

    Go to OBA7, select the document type RV and execute.  There ensure that the object 01 in the field number range assignment.  Next go to FBN1, key in company code and ensure that the above object is maintained there.
    thanks
    G. Lakshmipathi

  • ITunes / AppStore problem: I live in Colombia, my apple ID and iTunes account are set in Colombia, but each time I try to register my Colombian credit card it tells me my credit card is not valid for the store. How can I fix this?

    I live in Colombia, my apple ID and iTunes account are set in Colombia, but each time I try to register my Colombian credit card it tells me my credit card is not valid for the store. How can I fix this?

    credit card it tells me my credit card is not valid for the store.
    Hi Don ...
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    The iTunes and Mac App Store are one in the same.
    And check out this support article here   >  iTunes Store: My credit card's security code or zip code does not match my bank's records

  • Every time I've tried to download application always showing that my account not valid for the uk store.You have to switch to the emirate store.How to do it?

    Every time I've tried to download application always showing that my account not valid for the uk store.You have to switch to the emirate store.How to do it?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you will be located.
    8. Tap "Done".

  • InApp Error on Android: This version of the application is not configured for billing

    Hi,
    My App runs on Android. Free publications can download, but when I publish a folio to sell, it appears on the Android device and it gives the message: "This version of the application is not configured for billing"
    I used the (long) app license code at the API section and pasted it into the android Public Key aria in the DPS Admin.
    Then I logged out and logged in again.
    Any Ideas what could be wrong?

    On google console check merchant account and see if all the bank and tax information settings are filled correctly.

  • Node id does not exist for the current application server id

    Hi gurus,
    when i start application services (adstrtal.sh) i encounter the following error: Node id does not exist for the current application server id.
    i executed the command select server_id from fnd_nodes and had the following output
    SERVER_ID
    991D192B1CFC10F2E043C0A8645210F226563381082071204628231314463687
    i also checked the .dbc files under $FND_TOP/secure, there were two HOSTNAME_SID.dbc files (IPPDDVP_VIS.dbc and ippddvp_vis.dbc) with different APPL_SERVER_ID
    ippddvp_vis.dbc == 9827D18C8C2E8816E043C0A86452881611641850934523625093287478849136
    IPPDDVP_VIS.dbc == 991D192B1CFC10F2E043C0A8645210F226563381082071204628231314463687
    Please help me out.
    thanks.

    i cleaned the FND_NODES TABLE as per metalink note 260887.1. i run autoconfig on db/apps tier. Now when i start the application, i encounter the following error:
    applmgr >./adstrtal.sh apps/apps
    You are running adstrtal.sh version 115.19
    Executing service control script:
    /dvp2/product/viscomn/admin/scripts/VIS_ippddvp/adapcctl.sh start
    script returned:
    adapcctl.sh version 115.55
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    adapcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    please what should i do next to resolve this problem.
    thanks

  • I'm getting this error message: "User not registered for online use" when i'm trying to download music/ track names from a CD into ITunes on my Windows 8 PC.  I'm registered and my itunes account/ appleID are all correct and working.

    I'm getting this error message: "User not registered for online use" when i'm trying to download music/ track names from a CD into ITunes on my Windows 8 PC.  I'm registered and my itunes account/ appleID are all correct and working.

    The ""not recognized for on-line use". error is associated with the Gracenote service that iTunes uses to look up and retrieve metadata for CDs.  Some users have reported that this error occurs when trying to import from CD, subsequent to upgrading to version 12.  A number of slightly different solutions have been reported (though all of a similar nature).
    Try walking through the following steps - before starting you may have to enable hidden files and folders to be viewed - in Windows 7 / Windows Explorer select Organize > Folder and search options, then on the View tab make sure that Show hidden files, folders and drives is selected.  Without this you won't see the AppData folder in C:\Users\username\
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this doesn't work:
    In iTunes, select Edit > Preferences and make a note (or take a screenshot) of your preferences settings in all relevant tabs
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following file:iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this second procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1.
    If this one didn't work:
    Exit iTunes
    Check the following folders:
    C:\Users\username\AppData\Local\Apple Computer\iTunes
    C:\Users\username\AppData\LocalLow\Apple Computer\iTunes
    Delete any copies of the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    Again, if this procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1 of the second procedure. If you're still not able to retrieve CD info:
    Exit iTunes
    In Windows, select Start > Control Panel > Programs and Features.  Find the entry for iTunes, right-click and select Repair.
    When this process has finished, restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If none of these have worked (and almost everything I've seen suggests you should be OK by this point), you may have an issue with the installation and configuration of iTunes itself.  If you have got this far, see turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for advice on how to remove and replace of all components of iTunes.

  • Problems Shared Services:Registered application is not active at the moment

    Hi!
    I have a problem with Hyperion Shared Services (HSS) and Hyperion Performance Socrecard (HPS), my projecto from HPS appears like if not it was registered in HSS.
    The error is: Registered application is not active at the moment. Please consult your system administrator.
    The information was migrated from other server, now already run configuration utility and configurate my proyect, but not appears in HSS.
    Optional: This is necessary for assign sercurity roles by Domain?
    Thank you very much.

    Did you get this resolved .
    Vinod

  • Trying to import cd, it only shows tracks, not song titles. when i try and get the titles it says im not registered for online use even though im signed in. how can i fix this?

    Im trying to import songs from a cd, but it only shows track numbers, no title of songs.when it try to get the titles it gives error code saying im not registered for online use. i am signed into my account so i dont know how to fix this.

    The "not recognized for on-line use" error is associated with the Gracenote service that iTunes uses to look up and retrieve metadata for CDs.  Some users have reported that this error occurs when trying to import from CD, subsequent to upgrading to version 12.  A number of slightly different solutions have been reported (though all of a similar nature).
    Try walking through the following steps - before starting you may have to enable hidden files and folders to be viewed - in Windows 7 / Windows Explorer select Organize > Folder and search options, then on the View tab make sure that Show hidden files, folders and drives is selected.  Without this you won't see the AppData folder in C:\Users\username\.
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this doesn't work: 
    In iTunes, select Edit > Preferences and make a note (or take a screenshot) of your preferences settings in all relevant tabs
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following file:iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this second procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1.
    If this one didn't work: 
    Exit iTunes
    Check the following folders:
    C:\Users\username\AppData\Local\Apple Computer\iTunes
    C:\Users\username\AppData\LocalLow\Apple Computer\iTunes
    Delete any copies of the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    Again, if this procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1 of the second procedure. 
    If you're still not able to retrieve CD info: 
    Exit iTunes
    In Windows, select Start > Control Panel > Programs and Features.  Find the entry for iTunes, right-click and select Repair.
    When this process has finished, restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If none of these have worked (and almost everything I've seen suggests you should be OK by this point), you may have an issue with the installation and configuration of iTunes itself.  If you have got this far, see turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for advice on how to remove and replace of all components of iTunes.

  • How can i install AppRadio application...i am in Tunisia and the application is not found in the Tunisian AppStore...it's essensual for piloting my Pioneer SPH-D01 AppRadio....please how can i get this application ...thanks

    how can i install AppRadio application...i am in Tunisia and the application is not found in the Tunisian AppStore...it's essensual for piloting my Pioneer SPH-D01 AppRadio....please how can i get this application ...thanks

    If it's not available in the store in which you have your account, you're pretty much out of luck. In order to purchase from the U.S. iTunes Store you need a)a valid billing address in the U.S., b) a credit/debit card billed to that address or an iTunes prepaid card purchased in the U.S. and c) to be physically located in the U.S. at the time of purchase.

  • "Application has not registered to handle incoming messages on the Signaling Session," Diagnostic ID 24041

    Hi
    We have set up a Lync with connection to pbx. From our scenario we used the Lync 2013 Mobile client (android) to call to our ip phone, but when the ip phone answered, the call drops. We received this error from our Lync diagnostic report "Application
    has not registered to handle incoming messages on the Signaling Session," Diagnostic ID 24041. Hope you can help us to interpret this error and suggest any possible solution.
    thank you

    Hi Edison,
    Looks like REFFR is not supported between the gateway and mediation server.
    You can try to disable REFFER support and test the issue.
    In addition, to better understand the issue, you should check the logs.
    Also double check Lync server configuration item for CSMobilityPolicy and CSTrunkConfiguration .
    Best regards,
    Eric

  • When trying to update my Apps I am being advised my account is not valid for the UK, I must switch to the Ireland store. How do I do this?

    When trying to update or purchase Apps I am being advised my account is not valid for the UK Store and I must switch to the IReland store. How do I do this?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you will be located.
    8. Tap "Done".

Maybe you are looking for

  • ERROR OCCURRED WHILE VIEWING A WEBI REPORT

    when i'm trying to refresh a WEBI report, I'm getting this error. Can anyone please help me with it? Here is the snapshot of the error: Thanks! Neha.

  • Can no longer scan from my HP Photosmart C 4650 to my computer since upgrading to Maverick

    I can no longer scan from my HP Photosmart C 4650 to my computer since I upgraded to Maverick.  I have to use image capture to do so.  Are there any fix's out there?

  • Searching for Nonprinting Objects

    Is it possible to do a search for objects with an attribute set to Nonprinting? I have this odd problem:  I work on a magazine, and we insert a little custom endmark image at the end of each story.  For some reason, whenever anyone edits that story i

  • Configure web service as SSL

    Hi, I've created a simple hello world function in SAP, setting it as Web Service. Now I have a .Net page that uses a web reference to this webservice. With the Standard logon data, I can consume this service with no problem. Now I want to secure this

  • Portal Favorites problem

    When i save a KM folder to my Portal Favorites..it seems to work fine... but when i save a link to other portal content like "Content Administration/Portal Content" using the "add to Portal favorites" dropdown from the upper right of the page...it ad