Issue while creating SharePoint farm
When trying to create a SharePoint Farm, I get the following error:
statusCode:BadRequest
statusMessage:{"error":{"code":"VirtualMachineOperationFailed","message":"Kan virtuele machine YK-Demo-RG-SP niet maken: OSImage c6e0f177abd8496e934234bd27f46c5d__SharePoint-2013-Trial-7-14-2014 not found. If you are using a VM image, it must be specified as VMImageName for the role, not as SourceImageName for OSVirtualHardDisk.."}}

4 comments
-
Anwesh Rijal commented
The workaround is to use a different image. You can view them my calling the "List VM Images" call.
Funny the Microsoft ALSO update the API without too much documentation (for eg. the example at the bottom of "Create Virtual Machine Deployment" is invalid).
Here's what I had to change to get it to work:1. Pick a diff. image
2. Change the media_link to blob_url only, (not role_name and .vhd)
3. Don't use the OSVirutalHardDisk parameter anymore
4. Add the following two param:
<VMImageName>source_image_name</VMImageName>
<MediaLocation>media_link</MediaLocation> -
Sumukh Sharma commented
The Sharepoint 2013 (Trial) OS image in our environment got expired on 3rd January 2015. When we tried to create a Sharepoint VM, the request was sent to Azure but cancelled with the following message: "OSImage c6e0f177abd8496e934234bd27f46c5d__SharePoint-2013-Trial-7-14-2014 not found". When I checked the image details at Azure back-end : "Microsoft SharePoint Server 2013 Trial on Windows Server 2012 Datacenter. Virtual Machines created with this trial image will expire on January 3, 2015".
I believe the same is the reason in your case.
Hope this helps.
-
Nima Shirvani commented
Have the same issue.
-
Yorick Kuijs commented
Any update? Just tried it again and it still doesn't work. Same error message.