Use OData/CSOM with Azure Application authentication

Hello,
I try to create an application which can access Project Online OData and is using Azure AD Application for authentication.
So I started with the Research-Project-Code-Sample from the OfficeDev (
https://github.com/OfficeDev/Research-Project-Code-Sample ) for the authentication to Azure AD as an application.
So I can access /_api/Web Odata endpoint and get all the data.
But when I try to access /_api/ProjectServer/Projects I get no projects.
And for /_api/ProjectData I get an error.
I am assuming that there are some missing permissions.
But I have no clue which ones.
I have tried adding permissions using the same approach as for Excel described here
http://blogs.office.com/2013/03/29/project-online-and-excel-web-app-cloud-data-improves-reporting/ but it still does not work.
Any one any idea or help?
Thanks,
Fabian

Hello,
you have to use NetworkMonitor or similar tools to see the detailed traffic from the application to the DCs.
LDAP is a protocol used for AD.
http://msdn.microsoft.com/en-us/library/aa367008(v=vs.85).aspx
See here about Kerberos and NTLM
http://technet.microsoft.com/en-us/library/cc755284(v=ws.10).aspx http://technet.microsoft.com/en-us/library/cc780469(v=ws.10).aspx
Which options are used and required belongs also to the applications, so please ask therefore in the specific product forums also.
Best regards
Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://blogs.msmvps.com/MWeber
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
Twitter:  

Similar Messages

  • Does anyone have an example code to use mx:ViewStack with my application.

    Does anyone have an example code to use <mx:ViewStack>
    with my application.
    I don't know about how to put value to it and use value in
    it.

    http://livedocs.adobe.com/flex/2/langref/mx/containers/ViewStack.html#includeExamplesSumma ry
    That should be what you're looking for.

  • Using a variable with "tell application"

    I'd like to use a variable (app_name) with "tell application" in the following function:
    on getAdobeDoc(app_name)
    tell application app_name
    tell current document
    return (name as Unicode text)
    end tell
    end tell
    end getAdobeDoc
    but I'm getting the following error in Script Editor
    "Expected end of line but found class name." with the word "document" highlighted.
    Are you allowed to use variables in "tell application"? All Adobe CS apps seem to use the same format to get the document name so I'd like to use one function to get them.

    If the application might have a different name on the target machine (for example, if it has a version number added), you can use an application's bundle identifier (or creator code) to set the variable, in which case the using terms from statement tells AppleScript the application (on your machine) to get the dictionary terms from. If the application you are using terms from has a dictionary identical to your variable, everything should work the same. The following example uses a variable (called, appropriately enough, TexttEdit) for the TextEdit application:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder" to set TextEdit to the name of application file id "com.apple.TextEdit"
    tell application TextEdit
    using terms from application "TextEdit"
    launch
    make new document with properties {text:"This is a test"}
    end using terms from
    end tell
    </pre>

  • Using Report tool with Swing Application

    I'd like to use a reporting tool (Crystal Reports or anything else) with Swing application. Could anyone help me?

    You have to pass the values are parameters to the Oracle Reports report. Take a look at this: http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    Also you can search this forum for "Oracle Reports"
    Mike

  • How to use a proxy with java applications?

    I have a nokia 6300 type s40v3
    hello,
    I would like to know if it is possible to use a proxy of any and how ? kind with java applications.
    thank you

    Well, it works well when, into my applet, i do somethig like this:
    URL url = new URL(host);
    URLConnection connexion = url.openConnection();My applet uses proxy setting from IE6 but only if i use Java 1.4.2_08.
    With IE6 and Java 1.5.04, it doesn't work (my applet doesn't use proxy settings)
    With Firefox and Java 1.5.04, it's ok
    Have you already seen a problem like this with Java 1.5.04 ?

  • Using fonts bundled with Adobe applications

    I use the Adobe CS6 Design & Premium / Middle East Version.
    I have a question regarding the use of the fonts bundled with Adobe applications.
    I design and sell greeting cards  and printable items you can download and print at home or at a print house.
    Before I send the file  to a client I convert the type to a shape (Photoshop) or create outlines (Illustrator/Indesign) and sometimes I send a pdf file.
    Am I allowed to use these fonts for these purposes??
    Is it ok to use these fonts that way?
    One more question,
    How can I find out if a font is bundled with Adobe or installed with my OS? is there a list of adobe fonts that are installed with CS6?
    Hope to hear from you soon
    Thank you!!

    it is an allowed use. But if you are sending them a pdf, you need to convert the fonts to outline nor rasterize it. Adobe allows embedding of their fonts in pdf files. However, not all font houses allow this. If you have a font that doesn’t allow embedding, the Adobe app will not embed the font.

  • Using WS-Security with Spring application in WebLogic

    From a high level, are there any issues with using WS-Security in WebLogic 8 or 9 with an application constructed with Spring? What issues might come up between WS-Security and Spring that might make this complicated?

    You won't be able to do this using the WSSE file.
    An easy way to get around this is to use an XML Bean built from the WS-Security XML Schema. You'll have to read the WS-Security spec to determine how to create the nonce, but you'll be able to convert this XML Bean into the Element[] that the setOutputHeaders() method, which is on the service control you call the .NET Web Service with.
    Regards,
    Mike Wooten

  • Have a problem using flex ui with Java application

    Hi, I have a built a Flex UI for a java project. The UI has
    some forms which use a servlet for POST and data populated from
    servlet. I have used HTTP service to make the calls. I have built
    my application i.e UI in Flex Builder and when I run my application
    from flex builder everything works fine i.e data populated
    correctly..
    But when I open the projects folder and run the html file
    generated the Http Service does not happen. Can anybody tell me why
    is this so?? . Moreover I want use this UI for my already existing
    java project. So what all files (i,e. html, mxml, swf) will be
    required to be copied to my java project for the UI to work ..
    .Thanks in advance...

    well, that's because Flex Builder is tell Flash player to
    trust stuff in the bin folder:
    http://viconflex.blogspot.com/2008/08/why-no-sandbox-violation-running-from.html
    ATTA

  • How to use java output with other application

    hi ,
    I am using acme.crypto to encrypt data. this is completely written in java. i need to pass input to this using VB6 and return the output to VB6
    how can i achieve the same, is there any readily available dll that can be used in vb?
    I am rigorously searching solution, which i am not finding.
    I need to know how should i place the java code so that it could be used with VB, as i am new to java world. Do i need to create component using java bean or how?
    The code i refered above is nothing but encryption algorithm. I need to pass the input string from vb to java, which will process me the output which inturn should be passed to vb6.
    Kindly guide me through this.

    Why not create a Java ServerSocket in your Java program.
    Connect the VB program to this ServerSocket.
    Send the input to the Java Program over this socket and have the Java Program encrypt the information and pass it back on the same socket.
    Don't know how hard Sockets are in VB6 but a Server Socket in Java is simple.
    No need for new DLLs, JNI, etc.

  • HOW TO use OCX controls with Java application

    hi
    Is it possible to use microsoft Ocx controls in java applications.

    Anything is possible. You might want to ask if it's a good idea, but look at some of the people who have asked before. It looks like there are products out there to help.
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Btitle%3Aocx&col=javaforums&x=19&y=13

  • Using Parallelism, Cache with Oracle Applications Core Tables

    Hi all,
    I want to know if i can put some tables in parallel and some tables in cache in an Oracle Applications enviroment without any problem. The precedure to change these tables are equal to a single database? Just use command like "ALTER TABLE table_name PARALLEL......"
    Do i need to change anything at Applications Level after these changes that i will made on these tables?
    Tks,
    Paulo

    You can cache read-only PL/SQL stored procedures in the DB Cache. I'm not sure about db built-in packages, but if they are read-only, should be ok.
    All DB Cache management functionality is available from DBA Studio. You can also use the supplied dbms_icache PL/SQL package to manage the cache. Refer to the DB Cache Concepts & Admin Guide for details.
    DB Cache is strictly a cache for read-only queries. All updates are passed to the origin db.

  • Using Adobe Captivate with Other Applications

    This question was posted in response to the following article: http://help.adobe.com/en_US/captivate/cp/using/WS5b3ccc516d4fbf351e63e3d119e9582981-8000.h tml

    Why is FrameMaker 11 not included. Both are part of TCS4?

  • How to use Sql Lite with AiR application

    Hi,
    I am new to SqlLite , i need to fetch the details from the
    db file and i need to update every time . when the user click the
    update file . can any one help me hw to solve this issue
    ~~
    Sk

    Anything is possible. You might want to ask if it's a good idea, but look at some of the people who have asked before. It looks like there are products out there to help.
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Btitle%3Aocx&col=javaforums&x=19&y=13

  • How to use Entrust with java application on unix platform

    Hi all,
    i have question regarding the use of Entrust with java application on unix
    1)I want to use Entrust for encryption/decryption of the file in my core java application on unix platform.
    What should be requiremnet for the same and how it is implemented?.
    2) I want to Use Entrust for Authentication purpose in my java based web application on unix platform.
    What are requirements for Entrust Authentication and how it is implemented ?

    any one has solution?

  • Secure RD Web Access with Azure MFA

    We are keen to deploy RD Web Access for external users but can't find any guidance on securing it with Multi-Factor Authentication (MFA - formerly PhoneFactor).
    We currently use MFA with our RD Gateway for users who connect directly to VMs via RDP but want to give other users access to RemoteApps via RD Web Access with the same two factor authentication.
    Cheers for now
    Russell

    Hi,
    Thank you for posting in Windows Server Forum.
    I am afraid that still there is no direct MFA for RD Web but need to login through RD Gateway which can access as follow. A Remote Desktop login request to RD Gateway that includes Azure MFA looks like this:
    1. User logs into RD Web Access and double clicks a RemoteApp (or desktop connection)
    2. The user’ login credentials for the website are used to validate the user (Web SSO), so no need to give them again.
    3. The user then gets an SMS text message on their smart device that provides them a 6 digit numeric code (the one-time password).
    4. The user replies to the text message by inputting this 6 digit code and adding their unique pre-defined PIN to the end of the sequence – Azure MFA includes the option to require the user know a predefined unique PIN as well, so that replies to a text message
    have to come from the user.
    5. The user is authenticated, and the RemoteApp (or desktop connection) opens.
    More information.
    Step By Step – Using Windows Server 2012 R2 RD Gateway with Azure Multifactor Authentication
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support
    Dharmesh,
    I owe you an apology, I'd forgotten that when you access RD Web Access you're only downloading an RDP file which then uses the RD Gateway to connect the client to the RemoteApp. If we already have the RD Gateway in place and configured with MFA this will
    produce the required result.
    Sorry
    Russell

Maybe you are looking for

  • My iphone will not allow me to turn on the wi-fi setting

    Question My iphone doesn't allow me to turn on the wi-fi setting. The on button is greyed out and won't turn on . I have tried resetting network settings and restoring phone but nothing is working.Any advice?

  • How do I select an Underneath Object?

    I'd assumed it would be "Press Shortcut Key and tap mouse" or something like that... but it's not.  It seems the Command Key changes the mode of the selection tool, whilst partially, sometimes, enabling selecting underneath.  But it's terribly incons

  • I can not change the year on my iPhone 5 (vr. 7.1)

    I would like to change the year on my iPhone date and time setting. However it only lets me change the day, month, and time. not the date. Its a little odd because I know at one point I could change the year. I have AT&T, iPhone 5, IOS 7.1 and I did

  • Plz tell me BDC  CALL TRANSACTION steps with simple example

    hi, plz tell me the steps BDC  CALL TRANSACTION steps with simple example

  • CCTV via internet

    Hi I have just installed CCTV on a standalone DVR which is connected to our local network, How can i configure the DSL-G604T so once I enter our router via the internet i.e 84.70.80.224 I can see the CCTV which is 192.168.1.83 on our network? Been at