ERROR : Cannot read the request body while creating new calendar event api.

Hi, 
I was trying to create and update the calendar event using [POST] https://outlook.office365.com/api/v1.0/me/events and [PATCH] https://outlook.office365.com/api/v1.0/me/events/<eventId> respectively.
When i try with poster or postman, I get this error
{error: {code: "ErrorInvalidRequest" message: "Cannot read the request body."} }
its not working . Any help will be appreciated.
Note: GET events and DELETE Events are working. I think the API with payload is not working.
Test Data :
URL: https://outlook.office365.com/api/v1.0/me/events/
Method: POST
JSON Data(Payload):
  "Subject": "Discuss the Calendar REST API",
  "Body": {
    "ContentType": "HTML",
    "Content": "I think it will meet our requirements!"
  "Start": "2015-01-06T07:03:07.481Z",
  "End": "2015-01-05T07:03:07.481Z",
  "Attendees": [
      "EmailAddress": {
        "Address": "[email protected]",
        "Name": "Konveen"
      "Type": "Required"
Error:
    "error": {
        "code": "ErrorInvalidRequest",
        "message": "Cannot read the request body."

Hi Sahil,
I was able to make your request work fine against my Office 365 mailbox with 2 changes.
1. Can you please make sure you are adding header "Content-Type: Application/Json"?
2. Can you please make sure your end time is AFTER start time?  Looks like there is a typo with your current request as the start time is on 2015-01-06 and end time is on 2015-01-05.
Hope that helps ...
Thanks,
Venkat

Similar Messages

  • Error while creating new projects using api

    Hello,
    I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
    Source template ID is invalid.
    ===
    My code is as follow:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    define no=&amg_number
    DECLARE
    -- Variables used to initialize the session
    l_user_id NUMBER;
    l_responsibility_id NUMBER;
    cursor get_key_members is
    select person_id, project_role_type, rownum
    from pa_project_players
    where project_id = 1;
    -- Counter variables
    a NUMBER := 0;
    m NUMBER := 0;
    -- Variables needed for API standard parameters
    l_commit VARCHAR2(1) := 'F';
    l_init_msg_list VARCHAR2(1) := 'T';
    l_api_version_number NUMBER :=1.0;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    -- Variables used specifically in error message retrieval
    l_encoded VARCHAR2(1) := 'F';
    l_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_msg_index_out NUMBER;
    -- Variables needed for Oracle Project specific parameters
    -- Input variables
    l_pm_product_code VARCHAR2(30);
    l_project_in pa_project_pub.project_in_rec_type;
    l_key_members pa_project_pub.project_role_tbl_type;
    l_class_categories pa_project_pub.class_category_tbl_type;
    l_tasks_in pa_project_pub.task_in_tbl_type;
    -- Record variables for loading table variables above
    l_key_member_rec pa_project_pub.project_role_rec_type;
    l_class_category_rec pa_project_pub.class_category_rec_type;
    l_task_rec pa_project_pub.task_in_rec_type;
    -- Output variables
    l_workflow_started VARCHAR2(100);
    l_project_out pa_project_pub.project_out_rec_type;
    l_tasks_out pa_project_pub.task_out_tbl_type;
    -- Exception to call messag handlers if API returns an error.
    API_ERROR EXCEPTION;
    BEGIN
    -- Initialize the session with my user id and Projects, Vision Serves (USA0
    -- responsibility:
    select user_id into l_user_id
    from fnd_user
    where user_name = 'SSHAH';
    select responsibility_id into l_responsibility_id
    from fnd_responsibility_tl
    where responsibility_name = 'Projects Implementation Superuser';
    pa_interface_utils_pub.set_global_info(
    p_api_version_number => l_api_version_number,
    p_responsibility_id => l_responsibility_id,
    p_user_id => l_user_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status);
    if l_return_status != 'S' then
    raise API_ERROR;
    end if;
    -- Provide values for input variables
    -- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
    -- by the user. In this case we select a pre-defined one.
    select lookup_code into l_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Conversion';
    -- L_PROJECT_IN: We have to provide values for all required elements
    -- of this record (see p 5-13, 5-14 for the definition of the record).
    -- Customers will normally select this information from some external
    -- source
    l_project_in.pm_project_reference := 'AGL-AMG Project &no';
    l_project_in.project_name := 'AGL-AMG Project &no';
    l_project_in.created_from_project_id := 1;
    l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
    l_project_in.project_status_code := 'UNAPPROVED';
    l_project_in.start_date := '01-JAN-11';
    l_project_in.completion_date := '31-DEC-11';
    l_project_in.description := 'Trying Hard';
    l_project_in.project_relationship_code := 'Primary';
    -- L_KEY_MEMBERS: To load the key member table we load individual
    -- key member records and assign them to the key member table. In
    -- the example below I am selecting all of the key member setup
    -- from an existing project with 4 key members ('EE-Proj-01'):
    for km in get_key_members loop
    -- Get the next record and load into key members record:
    l_key_member_rec.person_id := km.person_id;
    l_key_member_rec.project_role_type := km.project_role_type;
    -- Assign this record to the table (array)
    l_key_members(km.rownum) := l_key_member_rec;
    end loop;
    -- L_CLASS_CATEGORIES: commented out below should fix the error we get
    -- because the template does not have an assigment for the mandatory class
    -- 'BAS Test'
    l_class_category_rec.class_category := 'Product';
    l_class_category_rec.class_code := 'Non-classified';
    -- Assign the record to the table (array)
    l_class_categories(1) := l_class_category_rec;
    -- L_TASKS_IN: We will load in a single task and a subtask providing only
    -- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
    -- the task record)
    l_task_rec.pm_task_reference := '1';
    l_task_rec.pa_task_number := '1';
    l_task_rec.task_name := 'Construction';
    l_task_rec.pm_parent_task_reference := '' ;
    l_task_rec.task_description := 'Plant function';
    -- Assign the top task to the table.
    l_taskS_in(1) := l_task_rec;
    -- Assign values for the sub task
    l_task_rec.pm_task_reference := '1.1';
    l_task_rec.pa_task_number := '1.1';
    l_task_rec.task_name := 'Brick laying';
    l_task_rec.pm_parent_task_reference := '1' ;
    l_task_rec.task_description := 'Plant building';
    -- Assign the subtask to the task table.
    l_tasks_in(2) := l_task_rec;
    -- All inputs are assigned, so call the API:
    pa_project_pub.create_project
    (p_api_version_number => l_api_version_number,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_workflow_started => l_workflow_started,
    p_pm_product_code => l_pm_product_code,
    p_project_in => l_project_in,
    p_project_out => l_project_out,
    p_key_members => l_key_members,
    p_class_categories => l_class_categories,
    p_tasks_in => l_tasks_in,
    p_tasks_out => l_tasks_out);
    -- Check the return status, if it is not success, then raise message handling
    -- exception.
    IF l_return_status != 'S' THEN
    dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
    dbms_output.put_line('Error: ret status: '||l_return_status);
    RAISE API_ERROR;
    END IF;
    -- perform manual commit since p_commit was set to False.
    COMMIT;
    --HANDLE EXCEPTIONS
    EXCEPTION
    WHEN API_ERROR THEN
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    WHEN OTHERS THEN
    dbms_output.put_line('Error: '||sqlerrm);
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    END;
    ===
    Msg_count: 1
    Error: ret status: E
    ERROR: 1: Project: 'AGL-AMG Project 1123'
    Source template ID is invalid.
    PL/SQL procedure successfully completed.

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

  • Need help to read the item details while creating the Opportunity in SAP CR

    Hi,
    I need to read the values entered at item level while creating a new opportunity in SAP CRM 5.0.
    Is there any function modle to do that ? I need to read the custom fields (developed by EEWB)
    and sum  them up and populate at the header level.
    As the data is not saved yet, I cannot read from database in the present scenario.
    Thanks and regards

    Hi,
      U can use CRM_ORDER_READ.
    1) Pass the values for the ITEM guid which u want to read.
    2) ignore the other header guid and object id because it is for whole contract
    3) if u had custmize any table it will be available in the internal table returned by the function module.
    4) u have to identify which internal table will contain the field since many internal table are available with similar meaning.
    4) CRM_ORDER_ORDER is heavy function module it reads entire contract hence u need to specify which internal table u have to read any only those values will be read. for that u have to fill in <b>it_requested_objects</b>
    fill requested ogject with below statement
    INSERT gc_object_name-orderadm_h  INTO TABLE lit_import_tab.
    gc_object_name is constant structure u have to include
    *-Standard Include
      INCLUDE crm_object_names_con.
    Mark helpfull answers
    Regards
    Manoj

  • How to make the fields of the table mandatory while creating new entries..?

    Hi,
    I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entries. No field should be BLANK.
    When creating the new entries in the table, even if I don't give any values to some of the fields, it is saving the entry. But, it shouldn't happen like that. If any of the field is kept blank, it should not allow the user to save the entry. Can someone tell me how to approach this. Will there be any settings while creating the table which takes care of this.
    I read somewhere that this can be done using the Table EVENTS. Can someone tell me what is the code that we should write there in the Events which prevents the user from saving the blank fields. While writing the logic in the events, how to check whether the particular field is BLANK or not. Will the values be stored in any internal table kind of thing..?
    My table name is ZCRF_TAB and the fields are FLD!, FLD2, FLD3, FLD4, FLD5 & FLD6. Can someone provide me sample code for my requirement. Thanks in advance.
    Best regards,
    Paddu.

    Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events
    Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.
    Write the appropriate code like:
    If ZTABLE-FIELD1 is initial.
    Message (E000) with "Fill all the manadatory fields".
    Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Regards,
    Rock.

  • Can't create new calendar events through Thunderbird

    Hi,
    I have Lightning installed and hooked up to two Google Calendars, one for actual events (both work and personal) and one for things like local holidays and week numbers (this is a read-only calendar Google's put together).
    My issue is that I can't create a new event on my personal calendar through Thunderbird. I can open the "create new event" dialog box no problem, and fill in all the details, but when I hit "Save and Close" nothing happens - the dialog box stays open, and no event is created.
    I can create events in a 'local' calendar (e.g. the blank "Home" calendar that Lightning comes with as a default). I can log into my Google calendar through my browser and create events no problem, but then hitting the "synchronise" button in Thunderbird doesn't make them show up (although syncing the calendar app on my android phone, linked to the same Google Calendar, makes the new events created through the browser show up no problem).
    The only other information I can offer is that on the Calendar tab in Thunderbird, on the left of the screen, there's list of the calendars my Thunderbird/Lightning has installed/synchronised: "Home" (a local calendar, basically empty but functioning), "Luke John's Calendar" (Google Calendar, the one I'm having the problem with), and "Week Numbers" (Read-only Google Calendar, I don't know if it's possible to create new events on because it's read only). Next to both "Luke John's Calendar" and "Week Numbers" are little (error?) symbols: black exclamation marks in yellow triangles, which give the rollover text "The Calendar [name] is momentarily not available."
    Any suggestions for sorting this out? I'd be very grateful!

    Hi Benito,
    What does it mean when a subscribed calendar is corrupted?
    The files iCal uses to store the calendars (.ics files) are text files. (You can look at one by exporting a calendar from iCal and opening the .ics file with a text editor.) When you subscribe to a calendar you are copying the calendar file to your hard drive. If some information is missing in the file, or the data is ordered in the wrong way, this can lead to iCal not functioning properly.
    The error could be on the server or your local copy, from what you write it's hard to tell. You could try subscribing to the problem calendar from another machine to see if it has the same problem.
    The usual recommendation for a local calendar (one you created) with this problem is to export and then import the calendar. This means the calendar is re-created from scratch. You can't use this solution with a calendar you are subscribed.
    I hope this helps.
    John M

  • How do i stop the alerts when I enter new calendar events

    When I enter a new event in Calendar, it automaticly adds two alerts to it.  One by email and one by text message.  With every event, I have to go back to the event and change both of the alerts to "none".  Going to Preferences - Alerts and "Turn off shared messages in Notification Center", it does not change a thing.  This didn't happen until I started Snow Leopard.
    Any help would be greatly appreciated.

    The Desktop and Screen Saver preference panel has two parts and the Screen Saver section has a slider bar near the bottom: set that to Never (far right).
    You might also want to use the sliders in the Energy Saver preferences, particularly putting the screen to sleep. Set that to the same as the Screen Saver otherwise a yellow warning triangle may appear. These settings are not the best, of course, so you might want to change back when your viewing is finished.

  • Cannot handle the request because a modal dialog or alert is active in indesign CS6, C#

    Hello,
    I'm having bunch of indesign CS6 files. I have written piece of code in C# which opens indesign files & exports those files to xml & pdf. If I run the exe, it works properly. But when I schedule it via task scheduler (runs at point of time without
    human intervention), it throws an error "Cannot handle the request because a modal dialog or alert is active" which results in failure of my process. This error keeps me annoying. So how to over come this error?
    Any help would be grateful. Thanks in advance.

    Hello,
    Thank you for your post.
    But your issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue is involved to InDesign CS6 which is third-party, we don’t support it, so I will move it to Off-topic forum.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.

    I have two forests with a transitive on-way trust between them: PROD -> TEST (test trusts PROD). I had previously had kerberos authentication working with winrm from PROD to machines in TEST. I have verified the trust is healthy, I also verified users
    in TEST can use WINRM with kerberos just fine. Users from PROD cannot connect via kerberos to machines in TEST with winrm.
    I have verified the service has registered the appropriate SPNs. I ran dcdiag against all my PROD and TEST domain controllers and didn't find anything that would prevent kerberos from happening. I even tried disabling the firewall entirely on my TEST dcs
    but that didn't gain me anything.
    I've enabled kerberos logging but only see the expected errors such as it couldn't find a PROD SPN for the machine, which it shouldn't from what I understand, it should go to the TEST domain and find the SPN from there.
    I'm really out of next steps before I call PSS and hope someone here has run into this and could provide me some next steps.
    PowerShell Error:
    Connecting to remote server failed with the following error message : WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.  
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo          : OpenError: (:) [], PSRemotingTransportException
        + FullyQualifiedErrorId : PSSessionStateBroken
    winrs Error:
    Winrs error:
    WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.  
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config.

    Hi Adam,
    I'm a little unclear about which SPNs you were looking for, in which case could you confirm you were checking that on the computer object belonging to the actual destination host it has the following SPNs registered?
    WSMAN/<NetBIOS name>
    WSMAN/<FQDN>
    If you were actually trying to use WinRM to connect to the remote forest's domain controllers, then what you said makes sense, but I was caught between assuming this was the case or you meant another member server in that remote forest.
    Also, from the client trying to connect to this remote server, are you able to telnet to port 5985? (If you've used something other than the default, try that port)
    If you can't, then you've got something else like a firewall (be that the Windows firewall on the destination or a hardware firewall somewhere in between) blocking you at the port level, or the listener on the remote box just isn't working as expected. I
    just replied to your other winrm post with steps for checking the latter, so I won't repeat myself here.
    If you can telnet to it and the SPNs exist, then you might be up against something called selective authentication which has to do with how the trust was defined. You can have a read of
    this to learn a bit more about selective trusts and whether or not it's affecting you.
    Cheers,
    Lain

  • 41810-error creating the menu,cannot read the file

    While creating the menu i am getting the following error
    "41810-error creating the menu,cannot read the file".PLease help to rectify this error.

    It is probably attached to the Forms module (see the library node in the navigator window).
    In a general way, try to know where are youe design modules (*.pll, *.mmb, *.fmb), look at the FORMS_PATH variable to see what directories are part of this environment variable, compile every design time module to get the executable versions *.plx, *.mmx and *.fmx, then put these executable files in one of the directories pointed by the FORMS_PATH variable.
    Francois

  • Management API - Create VM - InvalidXmlRequest - The request body XML was invalid or not correctly specified

    Hi,
    I am getting error while creating virtual machine from Azure REST management API. Could someone please point me what wrong I am POSTing in below XML
    ERROR ---
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>InvalidXmlRequest</Code><Message>The request body's XML was invalid or not correctly specified.</Message></Error>
    " <Deployment xmlns=\"http://schemas.microsoft.com/windowsazure\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">" +
    " <Name>SomeName</Name>" +
    " <DeploymentSlot>Production</DeploymentSlot>" +
    " <Label>SomeLabel</Label>" +
    " <RoleList>" +
    " <Role>" +
    " <RoleName>SomeRoleName</RoleName>" +
    " <RoleType>PersistentVMRole</RoleType>" +
    " <ConfigurationSets>" +
    " <ConfigurationSet i:type=\"WindowsProvisioningConfigurationSet\">" +
    " <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>" +
    " <ComputerName>SomeCompName</ComputerName>" +
    " <AdminPassword>Admin098</AdminPassword>" +
    " <EnableAutomaticUpdates>true</EnableAutomaticUpdates>" +
    " <ResetPasswordOnFirstLogon>false</ResetPasswordOnFirstLogon>" +
    " </ConfigurationSet>" +
    " <ConfigurationSet i:type=\"NetworkConfigurationSet\">" +
    " <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>" +
    " <InputEndpoints>" +
    " <InputEndpoint>" +
    " <LocalPort>3389</LocalPort>" +
    " <Name>RemoteDesktop</Name>" +
    " <Protocol>tcp</Protocol>" +
    " </InputEndpoint>" +
    " </InputEndpoints>" +
    " </ConfigurationSet>" +
    " </ConfigurationSets>" +
    " <OSVirtualHardDisk>" +
    " <DiskName>SomeDiskName-0-20121007173943</DiskName>" +
    " <MediaLink>http://portalvhdsrx7q659n2n5j2.blob.core.windows.net/public/myvhd0008980.vhd</MediaLink>" +
    " <SourceImageName>MSFT__Win2K8R2SP1-Datacenter-201208.01-en.us-30GB.vhd</SourceImageName>" +
    " </OSVirtualHardDisk>" +
    " <RoleSize>Small</RoleSize>" +
    " </Role>" +
    " </RoleList>" +
    " </Deployment>"I have tried adding admin user name as well to the xml but still get same error.Please suggest

    the format of the request body is:
    <Deployment xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <Name>name-of-deployment</Name>
    <DeploymentSlot>deployment-environment</DeploymentSlot>
    <Label>identifier-of-deployment</Label>
    <RoleList>
    <Role>
    <RoleName>name-of-the-virtual-machine</RoleName>
    <RoleType>PersistentVMRole</RoleType>
    <VMImageName>name-of-vm-image</VMImageName>
    <ConfigurationSets>
    <ConfigurationSet i:type="WindowsProvisioningConfigurationSet">
    <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
    <ComputerName>name-of-computer</ComputerName>
    <AdminPassword>administrator-password</AdminPassword>
    <EnableAutomaticUpdates>enable-updates</EnableAutomaticUpdates>
    <TimeZone>time-zone</TimeZone>
    <DomainJoin>
    <Credentials>
    <Domain>domain-to-join</Domain>
    <Username>user-name-in-the-domain</Username>
    <Password>password-for-the-user-name</Password>
    </Credentials>
    <JoinDomain>domain-to-join</JoinDomain>
    <MachineObjectOU>distinguished-name-of-the-ou</MachineObjectOU>
    </DomainJoin>
    <StoredCertificateSettings>
    <CertificateSetting>
    <StoreLocation>LocalMachine</StoreLocation>
    <StoreName>name-of-store-on-the-machine</StoreName>
    <Thumbprint>certificate-thumbprint</Thumbprint>
    </CertificateSetting>
    </StoredCertificateSettings>
    <WinRM>
    <Listeners>
    <Listener>
    <Protocol>listener-protocol</Protocol>
    </Listener>
    <Listener>
    <CertificateThumbprint>certificate-thumbprint</CertificateThumbprint>
    <Protocol>listener-protocol</Protocol>
    </Listener>
    </Listeners>
    </WinRM>
    <AdminUsername>name-of-administrator-account</AdminUsername>
    <CustomData>base-64-encoded-data</CustomData>
    </ConfigurationSet>
    <ConfigurationSet i:type="LinuxProvisioningConfigurationSet">
    <ConfigurationSetType>LinuxProvisioningConfiguration</ConfigurationSetType>
    <HostName>host-name-for-the-virtual-machine</HostName>
    <UserName>new-user-name</UserName>
    <UserPassword>password-for-the-new-user</UserPassword>
    <DisableSshPasswordAuthentication>password-authentication</DisableSshPasswordAuthentication>
    <SSH>
    <PublicKeys>
    <PublicKey>
    <FingerPrint>certificate-fingerprint</FingerPrint>
    <Path>SSH-public-key-storage-location</Path>
    </PublicKey>
    </PublicKeys>
    <KeyPairs>
    <KeyPair>
    <FingerPrint>certificate-fingerprint</FinguerPrint>
    <Path>SSH-public-key-storage-location</Path>
    </KeyPair>
    </KeyPairs>
    </SSH>
    <CustomData>base-64-encoded-data</CustomData>
    </ConfigurationSet>
    <ConfigurationSet>
    <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
    <InputEndpoints>
    <InputEndpoint>
    <LoadBalancedEndpointSetName>name-of-load-balanced-set</LoadBalancedEndpointSetName>
    <LocalPort>local-port-number</LocalPort>
    <Name>name-of-endpoint</Name>
    <Port>external-port-number</Port>
    <LoadBalancerProbe>
    <Path>path-of-probe</Path>
    <Port>port-assigned-to-probe</Port>
    <Protocol>probe-protocol</Protocol>
    <IntervalInSeconds>interval-of-probe</IntervalInSeconds>
    <TimeoutInSeconds>timeout-for-probe</TimeoutInSeconds>
    </LoadBalancerProbe>
    <Protocol>endpoint-protocol</Protocol>
    <EnableDirectServerReturn>enable-direct-server-return</EnableDirectServerReturn>
    <EndpointACL>
    <Rules>
    <Rule>
    <Order>priority-of-the-rule</Order>
    <Action>permit-rule</Action>
    <RemoteSubnet>subnet-of-the-rule</RemoteSubnet>
    <Description>description-of-the-rule</Description>
    </Rule>
    </Rules>
    </EndpointACL>
    </InputEndpoint>
    </InputEndpoints>
    <SubnetNames>
    <SubnetName>name-of-subnet</SubnetName>
    </SubnetNames>
    <StaticVirtualNetworkIPAddress>ip-address</StaticVirtualNetworkIPAddress>
    </ConfigurationSet>
    </ConfigurationSets>
    <ResourceExtensionReferences>
    <ResourceExtensionReference>
    <ReferenceName>name-of-reference</ReferenceName>
    <Publisher>name-of-publisher</Publisher>
    <Name>name-of-extension</Name>
    <Version>version-of-extension</Version>
    <ResourceExtensionParameterValues>
    <ResourceExtensionParameterValue>
    <Key>name-of-parameter-key</Key>
    <Value>parameter-value</Value>
    <Type>type-of-parameter</Type>
    </ResourceExtensionParameterValue>
    </ResourceExtensionParameterValues>
    <State>state-of-resource</State>
    </ResourceExtensionReference>
    </ResourceExtensionReferences>
    <AvailabilitySetName>name-of-availability-set</AvailabilitySetName>
    <DataVirtualHardDisks>
    <DataVirtualHardDisk>
    <HostCaching>caching-mode</HostCaching>
    <DiskLabel>label-of-data-disk</DiskLabel>
    <DiskName>name-of-disk</DiskName>
    <Lun>logical-unit-number</Lun>
    <LogicalDiskSizeInGB>size-in-gb-of-data-disk</LogicalDiskSizeInGB>
    <MediaLink>path-to-vhd</MediaLink>
    </DataVirtualHardDisk>
    </DataVirtualHardDisks>
    <OSVirtualHardDisk>
    <HostCaching>caching-mode</HostCaching>
    <DiskLabel>label-of-operating-system-disk</DiskLabel>
    <DiskName>name-of-disk</DiskName>
    <MediaLink>path-to-vhd</MediaLink>
    <SourceImageName>name-of-source-image</SourceImageName>
    </OSVirtualHardDisk>
    <RoleSize>size-of-virtual-machine</RoleSize>
    <ProvisionGuestAgent>install-an-agent</ProvisionGuestAgent>
    </Role>
    </RoleList>
    <VirtualNetworkName>name-of-virtual-network</VirtualNetworkName>
    <Dns>
    <DnsServers>
    <DnsServer>
    <Name>dns-name</Name>
    <Address>dns-ip-address</Address>
    </DnsServer>
    </DnsServers>
    </Dns>
    </Deployment>
    for more details please see
    this link.
    hope this helps!

  • You cannot export the request at the movement -while releasing the request

    Hi.. Experts
    Today, we had message from our functional consultant that When he is trying to release the TRANSPORT REQUEST (not tasks) he is getting the error  " You cannot export the request at the movement "
    After 2 / 3 hours, we discovered file exists in Transport Profiel directory
    " /usr/sap/trans/bin" directory Fine Name :   T_OFF.ALL
    After removing that file - The request releasing were happening normally.
    In this juncture, Even though the issue is fixed ,
    We would like to learn how this file got created  and which transactions / which configurations will create this T_OFF.ALL file and stops all Transport releases
    Thanks in advance
    Rgds
    PR

    This file T_OFF.ALL has to be created manually in the bin directory to basically stop release of any transport request from all systems. No transaction creates it .
    Please go through the links to get more info on this mechanism.
    [is there something like NOIMPORT.<SID> but with exception list;
    [http://help.sap.com/saphelp_40b/helpdata/fr/3d/ad5ad84ebc11d182bf0000e829fbfe/content.htm]

  • Error 58 The specified server cannot perform the requested operation

    Hello,
    I will try to explain the situation as brief as possible. Next to our current existing MDT environment (MDT2010 on Windows 2008 R2) we are no building a new system (MDT2013 on WIndows 2012 R2). We have multiple sites and the MDT deployment share is setup
    in DFRS share so every site is getting the same deployment information and replication is done automatically. This has been working firn for 3 years with the old system and also with the new environment it was working fine in our own subnet. But when after
    i have setup the remote MDT and WDS servers it is not working in these remote sites. The images are loading fine but for some reason the win PE is not connecting to the shares on the windows 2012 server in our site. When i manuualy connect from a remote win
    PE to our server i always get the error: system error 58 has occured. The specified server cannot perform the requested operation.
    I have been doing some troubleshooting and it seems i only got this issue when i connect from win PE 5.0 to a windows 2012 R2 server in a remote subnet.
    When i use win PE 5.0 and connect to a windows 2012 R2 share in the same subnet it connects fine. 
    When i use win PE 5.0 and connect to a windows 2008 R2 share in a remote subnet it connects fine
    When i use an older win PE and i connect to a windows 2012 R2 share in a remote subnet it connects fine
    When i use win PE 5.0 and connect to a windows 2012 R2 share in a remote subnet it does NOT connect and gives the above error
    The problem is that this problem also does not occure in Windows 7, after the machine was build by MDT and get into the OS i can connect without a problem to the windows 2012 R2 shares.
    Checking the event viewer on the 2012 R2 server that is hosting the shares i see that the following events are created:
    4624: An account was successfully logged on.
    Subject:
    Security ID:
    NULL SID
    Account Name:
    Account Domain:
    Logon ID:
    0x0
    Logon Type: 3
    Impersonation Level: Impersonation
    New Logon:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Logon GUID:
    {8e360e91-001b-c726-84a6-e7281a4bcac8}
    Process Information:
    Process ID:
    0x0
    Process Name:
    Network Information:
    Workstation Name:
    Source Network Address:
    x.x.x.x
    Source Port:
    60077
    Detailed Authentication Information:
    Logon Process:
    Kerberos
    Authentication Package:
    Kerberos
    Transited Services:
    Package Name (NTLM only):
    Key Length:
    0
    This event is generated when a logon session is created. It is generated on the computer that was accessed.
    The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
    The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
    The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
    The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
    The impersonation level field indicates the extent to which a process in the logon session can impersonate.
    The authentication information fields provide detailed information about this specific logon request.
    - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
    5140: 
    A network share object was accessed.
    Subject:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Network Information:
    Object Type:
    File
    Source Address:
    x.x.x.x
    Source Port:
    60077
    Share Information:
    Share Name:
    \\*\Captures
    Share Path:
    \??\D:\Captures
    Access Request Information:
    Access Mask:
    0x1
    Accesses:
    ReadData (or ListDirectory)
    4634: 
    An account was logged off.
    Subject:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Logon Type: 3
    This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.
    Anyone an idea why this is happening?

    Hi,
    We can refer to the following blog for MDT troubleshooting:
    http://blogs.technet.com/b/askcore/archive/2012/05/08/mdt-2010-amp-2012-my-deployment-failed-what-and-where-are-logs-i-should-review.aspx
    Best Regards,
    Vincent Wu
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Error message: "iTunes cannot read the contents of the iPod."

    I wanted to get my dad a new iPod for Xmas and transfer all his music from his ancient Classic. But when I connect to my MacBookPro, I get the error message: "iTunes cannot read the contents of the iPod." I see that 90% of the ipod drive is used, but I don't see any songs listed either on the iPod screen or in iTunes, which is worrying. Is there anything I can to save the music? He will be so upset that it's all gone...

    My suggestions, when Restoring the iPod.
    Disconnect your PC from Internet. (just to make sure no nasties creep into your system while you syncing.
    Stop the Antivirus program
    Connect your iPod to the PC, using a high speed USB 2.0 port at the back of your PC.
    Disconnect all other USB devices, except the mouse and keyboard.
    Stop all other programs except iTunes.
    Good Luck!

  • Error:The server cannot service the request because the media type is unsupported

    Hi Experts,
    I have configured one IDOC to web service synchronous scenario in SAP PI 7.31 using BPM. In the webservice response step of BPM we are getting the below error.
    The server cannot service the request because the media type is unsupported.
    Could you please assist?

    Send the same xml from SOAP UI to test the webservice. If you get the similar response, you should check with your service provider on what is the expected content/format.
    May be you might have to change the content type before sending the message to webservice.

  • Cannot open CS6 Bridge.  Always the same ERROR: Bridge has a problem and cannot read the cache

    Cannot open CS6 Bridge.  Always the same ERROR: Bridge has a problem and cannot read the cache

    Try this.  This is for CS6 but substitue CC and Bridge 6.
    ~library/caches/Adobe/Bridge CS6 and inhere should be 2 files:
    Adobe Bridge Plug-in Cache
    and the folder called Cache. Inhere should be 4 folders called '254', '1024', 'data' and 'full'
    All those folders carry the content of the respective quality of the thumbs and preview as well as 100 % cache and Bridge database.
    Any way, Since you have not used Bridge you have no relevant amount of cache and I would suggest you quit both PS and Bridge and manual delete both the items (plug in and folder called cache at the end of the Bridge CS6 path mentioned above.
    (both files will refresh itself after a restart of Bridge).
    To be on the save side also visit in same user library the folder Preferences and look for the file called "com.adobe.bridge5.plist" (yes it is Bridge 5 that comes with CS6, all Adobe apps have their own version number and they are presented in the same Suite version. CS6 has PS version 13 and Bridge version 5 )
    also drag this file to the trash.
    Then hold down option key (alt) while starting Bridge and this should give you the option to reset the preferences as mentioned earlier in this thread.
    Choose reset prefs and try again.

Maybe you are looking for

  • Error with Connection to JDBC MS SQL Server 2000

    Hi, I have this error: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read. And here is my connection statment: Connection conn = DriverManager.getConnection ("jdbc:microsoft:sqlserver://MYPC:8081","

  • PM Orders

    I would like to know the method to link preventive maintenance orders to production Orders, such that on the days of scheduled preventive maintenance the Machines should be available (free) for Maintenance activities  {production orders should not ge

  • Color problems printing from InDesign CC 2014 (and CC)

    When I print an ad I'm working on from InDesign, the color is off by a lot. If I save the doc as a pdf, it prints correctly from the pdf. If I print from the same InDesign doc on another machine, it prints fine. The problem is not only with this docu

  • Need help on struts configuration with ColdFusion 10 using IIS

    We need help on struts configuration with ColdFusion 10 using IIS. Earlier we were using ColdFusion 8 with IIS 6 for one of our application.  This application internally calls struts. After upgrading to ColdFusion 10 struts calls are not loading. We

  • How to set the NS_LANG

    I installed the Oracle on my Redhat6.1 with the Simply_Chinese set. But I found that it's set was wrong. How to chang the NS_LANG? Could I change the language set after my installation. Thanks!